aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte/unicode.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2018-02-19 12:20:43 +0000
committerAndrew White <andrew.white@unboxed.co>2018-02-19 12:20:43 +0000
commitd85283cc42b1a965944047a2f602153804126f77 (patch)
treebfb9986bff4ddf92aad7c973f31e78f0ed0be293 /activesupport/lib/active_support/multibyte/unicode.rb
parent57f9c36387f371cfb791aa660c733e9690443d04 (diff)
downloadrails-d85283cc42b1a965944047a2f602153804126f77.tar.gz
rails-d85283cc42b1a965944047a2f602153804126f77.tar.bz2
rails-d85283cc42b1a965944047a2f602153804126f77.zip
Remove trailing semi-colon from CSP
Although the spec[1] is defined in such a way that a trailing semi-colon is valid it also doesn't allow a semi-colon by itself to indicate an empty policy. Therefore it's easier (and valid) just to omit it rather than to detect whether the policy is empty or not. [1]: https://www.w3.org/TR/CSP2/#policy-syntax
Diffstat (limited to 'activesupport/lib/active_support/multibyte/unicode.rb')
0 files changed, 0 insertions, 0 deletions