Missing JS-protection in .htaccess [4.0] in case of directly opening a .sgv file.
This script is present in [3.x].
Following script is present in htaccess [4.0].
## Disable inline JavaScript when directly opening SVG files or embedding them with the object-tag
<FilesMatch "\.svg$">
<IfModule mod_headers.c>
Header always set Content-Security-Policy "script-src 'none'"
</IfModule>
</FilesMatch>
Script is NOT present in htaccess.
[4.0]
This script is present in [3.x]. See #30221.
Labels |
Added:
?
|
See #31291 (comment)
Not eventually but definitely this is true for all bugs fixed in the 3.x series. I would propose to have one ticket thats than marked as release block and not have one per bug fixdd in 3.x
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-11-02 15:34:37 |
Closed_By | ⇒ | Quy |
Title |
|
Thanks all.
Code committed in to j3 will be eventually merged in to j4