diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-18 11:02:20 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-18 11:02:20 +0100 |
commit | b9f2ce2796a6aab3192033e7d02d9c581eb670b8 (patch) | |
tree | 21fa67fdbca671c32841d7bcce1c0c12793a28b5 /lib/private/Setup.php | |
parent | 8bf7ec26e0b064f55224a202f2137b19eb2432d6 (diff) | |
download | nextcloud-server-b9f2ce2796a6aab3192033e7d02d9c581eb670b8.tar.gz nextcloud-server-b9f2ce2796a6aab3192033e7d02d9c581eb670b8.zip |
Fix loading of .woff2 files in .htaccess
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r-- | lib/private/Setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 7e235d03fdc..0278191587a 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -504,7 +504,7 @@ class Setup { $content .= "\n Options -MultiViews"; $content .= "\n RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]"; $content .= "\n RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]"; - $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg)$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/manifest.json$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/remote.php"; |