summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-05-11 17:58:50 +0200
committerMichiel de Jong <michiel@unhosted.org>2012-05-11 17:59:21 +0200
commitc99d7dd94fe53ce3ad6b5b781d8d9f6c868ef2d9 (patch)
tree350d8b25a4dd2d5a919b97dc40a5cc4b1ffbe50a /lib/setup.php
parent9c2f1051646f1dfb2615065d79d9a76410152b1a (diff)
downloadnextcloud-server-c99d7dd94fe53ce3ad6b5b781d8d9f6c868ef2d9.tar.gz
nextcloud-server-c99d7dd94fe53ce3ad6b5b781d8d9f6c868ef2d9.zip
the ',last' breaks all other rewrite rules and is also not there in the committed .htaccess, so removing it. anybody know why it was there?
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 1929256b6ce..8c2d5231210 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -318,7 +318,7 @@ class OC_Setup {
$content.= "</IfModule>\n";
$content.= "<IfModule mod_rewrite.c>\n";
$content.= "RewriteEngine on\n";
- $content.= "RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]\n";
+ $content.= "RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n";
$content.= "RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]\n";
$content.= "RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]\n";
$content.= "RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]\n";