Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <daniel@techandme.se>2016-03-26 17:10:04 +0300
committerDaniel Hansson <daniel@techandme.se>2016-03-26 17:10:04 +0300
commitc066882309346468092e0b8202852a763354bd94 (patch)
tree2a9d32c9184609a212ed5e260da51726e9471e40 /.htaccess
parent03f461591e5d20c7d0e25df7c997b855f1e797e4 (diff)
[stable9] Fix for themes with .jpg backgrounds
Without this all themes with .jpg or .jpeg are broken.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 3c5affd8233..df074f7f806 100644
--- a/.htaccess
+++ b/.htaccess
@@ -64,7 +64,7 @@
Options -MultiViews
RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]
RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]
- RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico)$
+ RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$
RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$
RewriteCond %{REQUEST_FILENAME} !/remote.php
RewriteCond %{REQUEST_FILENAME} !/public.php