mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
dd81a760f9
In case when multiple CSP policies are applied it is needed to clear the temporary string buffer that holds the string of each CSP policy that is deserialized from the CSP policies stream. Failing to clear the buffer will result in concatenations of the CSP policies strings for each consecutive CSP policy that is being deserialized, which will end in generation and application of invalid CSP policy for all except the first CSP policy that was set for the document. |
||
---|---|---|
.. | ||
base | ||
html | ||
media | ||
svg | ||
test | ||
xul | ||
moz.build |