aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-09-16 09:58:54 +0200
committerJoas Schilling <coding@schilljs.com>2024-09-16 10:05:51 +0200
commitf7748b7e64476d387888f89bec4d7d9b99edd0a9 (patch)
tree2e9efa0d1e067a7aed579e22579235b571fc2795 /lib
parent42628e6d8691c9618336b5319fee516b1db158ec (diff)
downloadnextcloud-server-f7748b7e64476d387888f89bec4d7d9b99edd0a9.tar.gz
nextcloud-server-f7748b7e64476d387888f89bec4d7d9b99edd0a9.zip
fix(a11y): Add OTF font loading checkbackport/47928/stable29
Signed-off-by: Joas Schilling <coding@schilljs.com>
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";