diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-09-16 11:25:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 11:25:47 +0200 |
commit | c228c6208896e0e0b04c03e142c1faa2926d5fc5 (patch) | |
tree | a730d2223e1a36bf5035c318d55a40ea77381d56 /lib | |
parent | 932d488b9f08cff89eb5d07a626adc7d0a57725e (diff) | |
parent | c7c031dbd273b283f41c1127bf27c8677d985842 (diff) | |
download | nextcloud-server-c228c6208896e0e0b04c03e142c1faa2926d5fc5.tar.gz nextcloud-server-c228c6208896e0e0b04c03e142c1faa2926d5fc5.zip |
Merge pull request #48063 from nextcloud/bugfix/noid/fix-otf-loading
fix(a11y): Add OTF font loading check
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 6212a561abb..fb054bca4e0 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -484,7 +484,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|ico|jpg|jpeg|png|webp|html|ttf|woff2?|map|webm|mp4|mp3|ogg|wav|flac|wasm|tflite)$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|mjs|svg|gif|ico|jpg|jpeg|png|webp|html|otf|ttf|woff2?|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"; |