summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-17 17:32:38 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-18 10:30:26 +0100
commitd9b632c00177e0625ef06e31e19ea1157546ebb4 (patch)
tree19d008b23b9026dd80b2c0ede918961fa57a2cc0 /.htaccess
parent382b18e85e021afbe738f8b21086908acb534248 (diff)
downloadnextcloud-server-d9b632c00177e0625ef06e31e19ea1157546ebb4.tar.gz
nextcloud-server-d9b632c00177e0625ef06e31e19ea1157546ebb4.zip
Use raw PATH_INFO
PATH_INFO will be empty at this point and thus the logic in base.php did not catch this. Changing this to "getRawPathInfo" will ensure that the path info is properly read. Fixes https://github.com/owncloud/core/issues/23199
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 82f13aa26c7..3c5affd8233 100644
--- a/.htaccess
+++ b/.htaccess
@@ -62,8 +62,8 @@
# Rewrite rules for `front_controller_active`
Options -MultiViews
- RewriteRule ^core/js/oc.js$ index.php/core/js/oc.js [PT,E=PATH_INFO:$1]
- RewriteRule ^core/preview.png$ index.php/core/preview.png [PT,E=PATH_INFO:$1]
+ 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} !core/img/favicon.ico$
RewriteCond %{REQUEST_FILENAME} !/remote.php