summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-05 13:26:56 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-01-05 13:26:56 +0100
commit0e17a00b62585224ddd957e6b9fa2f9096e90036 (patch)
tree490c0f67c29f49cfe9e2d326f4910fee64c04207
parente5ea000aae2493b3df0a2673a9399983dd1ecfd0 (diff)
parente97219cf75b44dc37af9c1932ea1da3a285254fe (diff)
downloadnextcloud-server-0e17a00b62585224ddd957e6b9fa2f9096e90036.tar.gz
nextcloud-server-0e17a00b62585224ddd957e6b9fa2f9096e90036.zip
Merge pull request #13103 from owncloud/fix-htaccess-regex
escape . in htaccess regex for CSS and JS HTTP headers
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 10adb902ff5..eef4ead0179 100644
--- a/.htaccess
+++ b/.htaccess
@@ -41,7 +41,7 @@ Options -Indexes
ModPagespeed Off
</IfModule>
<IfModule mod_headers.c>
- <FilesMatch ".(css|js)$">
+ <FilesMatch "\.(css|js)$">
Header set Cache-Control "max-age=7200, public"
</FilesMatch>
</IfModule>