diff options
author | Lukas Winkler <github@lw1.at> | 2018-10-11 00:04:05 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2018-10-11 00:04:05 +0300 |
commit | 6e86748a39e4d3afcd96500d4f785bd013be577f (patch) | |
tree | f7eaf472467d5f58324918afd36c3e6664f26d02 /plugins/Installation | |
parent | 8781da186812f5c5fb149e5837115ff01446fced (diff) |
don't consider .swf files safe (#13558)
Diffstat (limited to 'plugins/Installation')
-rw-r--r-- | plugins/Installation/ServerFilesGenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/ServerFilesGenerator.php b/plugins/Installation/ServerFilesGenerator.php index 9118894efb..32f2ab38c8 100644 --- a/plugins/Installation/ServerFilesGenerator.php +++ b/plugins/Installation/ServerFilesGenerator.php @@ -47,7 +47,7 @@ class ServerFilesGenerator "</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"; |