mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 08:38:11 -04:00
fix: add properties files to htaccess rewrite condition
This is needed for the PDF viewer localisation since it requests a `locale.properties` file. Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
3f75c4808d
commit
d4b030917b
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,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|otf|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|properties)$";
|
||||
$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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue