?
avatar sandewt
sandewt
2 Nov 2020

Steps to reproduce the issue

Missing JS-protection in .htaccess [4.0] in case of directly opening a .sgv file.
This script is present in [3.x].

Expected result

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>

Actual result

Script is NOT present in htaccess.

System information (as much as possible)

[4.0]

Additional comments

This script is present in [3.x]. See #30221.

avatar sandewt sandewt - open - 2 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - change - 2 Nov 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Nov 2020
avatar sandewt sandewt - change - 2 Nov 2020
The description was changed
avatar sandewt sandewt - edited - 2 Nov 2020
avatar brianteeman
brianteeman - comment - 2 Nov 2020

Code committed in to j3 will be eventually merged in to j4

avatar sandewt
sandewt - comment - 2 Nov 2020

Code committed in to j3 will be eventually merged in to j4

@zero24

avatar Quy
Quy - comment - 2 Nov 2020
avatar zero-24
zero-24 - comment - 2 Nov 2020

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

avatar Quy Quy - change - 2 Nov 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-11-02 15:34:37
Closed_By Quy
avatar Quy Quy - close - 2 Nov 2020
avatar Quy
Quy - comment - 2 Nov 2020
avatar zero-24
zero-24 - comment - 2 Nov 2020

Thanks @Quy was about to do that issue my self but just saw youbdid already. ?

avatar sandewt sandewt - change - 2 Nov 2020
Title
[4.0] Missing JS-protection in .htaccess in case of directly opening a .sgv file
[4.0] Missing JS-protection in .htaccess in case of directly opening a .svg file
avatar sandewt sandewt - edited - 2 Nov 2020
avatar sandewt
sandewt - comment - 2 Nov 2020

Thanks all.

Add a Comment

Login with GitHub to post a comment