Skip to content

Commit

Permalink
don't consider .swf files safe (#13558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Findus23 authored and sgiehl committed Oct 10, 2018
1 parent 8781da1 commit 6e86748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Installation/ServerFilesGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static function createHtAccessFiles()
"</IfModule>\n\n" .

"# Allow to serve static files which are safe\n" .
"<Files ~ \"\\.(gif|ico|jpg|png|svg|js|css|htm|html|swf|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$\">\n" .
"<Files ~ \"\\.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$\">\n" .
$allow . "\n" .
"</Files>\n";

Expand Down

0 comments on commit 6e86748

Please sign in to comment.