diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-09-16 11:20:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 11:20:00 +0200 |
commit | bbe3b99254192f4093c667ce4ff12a2e68463472 (patch) | |
tree | c446270d8cb93c1ebf38aa2c46bc5849920795aa /lib | |
parent | 4ada11453ff768a08cac4ec2f4146bc6a2955609 (diff) | |
parent | f7748b7e64476d387888f89bec4d7d9b99edd0a9 (diff) | |
download | nextcloud-server-bbe3b99254192f4093c667ce4ff12a2e68463472.tar.gz nextcloud-server-bbe3b99254192f4093c667ce4ff12a2e68463472.zip |
Merge pull request #47983 from nextcloud/backport/47928/stable29
Diffstat (limited to 'lib')
-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 0b7780c5cd0..6c0419ed6d6 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -523,7 +523,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|mjs|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4|mp3|ogg|wav|flac|wasm|tflite)$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|mjs|svg|gif|png|html|otf|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4|mp3|ogg|wav|flac|wasm|tflite)$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/core/ajax/update\\.php"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/core/img/(favicon\\.ico|manifest\\.json)$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/(cron|public|remote|status)\\.php"; |