diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-13 05:45:17 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-13 05:45:17 +0400 |
commit | 60f40c99f1a199c913673443ae7393f13d7c8ace (patch) | |
tree | 26fa7399269717f375edf3ff2130d53708511cb2 /plugins/Installation/ServerFilesGenerator.php | |
parent | 63af7b0f316c316819ef28bcac5bd018c085632e (diff) |
Maybe this would help, taht the htaccess files white list html files refs #5148
Diffstat (limited to 'plugins/Installation/ServerFilesGenerator.php')
-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 65085c71d8..db0b919042 100644 --- a/plugins/Installation/ServerFilesGenerator.php +++ b/plugins/Installation/ServerFilesGenerator.php @@ -35,7 +35,7 @@ class ServerFilesGenerator // more selective allow/deny filters $allowAny = "<Files \"*\">\n" . $allow . "Satisfy any\n</Files>\n"; - $allowStaticAssets = "<Files ~ \"\\.(test\.php|gif|ico|jpg|png|svg|js|css|swf)$\">\n" . $allow . "Satisfy any\n</Files>\n"; + $allowStaticAssets = "<Files ~ \"\\.(test\.php|gif|ico|jpg|png|svg|js|css|htm|html|swf)$\">\n" . $allow . "Satisfy any\n</Files>\n"; $denyDirectPhp = "<Files ~ \"\\.(php|php4|php5|inc|tpl|in|twig)$\">\n" . $deny . "</Files>\n"; $directoriesToProtect = array( |