aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-09-16 11:20:00 +0200
committerGitHub <noreply@github.com>2024-09-16 11:20:00 +0200
commitbbe3b99254192f4093c667ce4ff12a2e68463472 (patch)
treec446270d8cb93c1ebf38aa2c46bc5849920795aa /lib
parent4ada11453ff768a08cac4ec2f4146bc6a2955609 (diff)
parentf7748b7e64476d387888f89bec4d7d9b99edd0a9 (diff)
downloadnextcloud-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.php2
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";