diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-11 00:18:53 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-11 00:18:53 +0300 |
commit | bd17cc793c48629ebc8a3ef0084d7acff6077460 (patch) | |
tree | 704ee75bc897aab3c5a5ff2f0a528406c595766f /lib | |
parent | b315a5ee29b346b7f6bcc7b56d5f369fac8bdec9 (diff) |
Improved rewrite rule
As per https://github.com/owncloud/core/issues/23098 and https://github.com/owncloud/core/issues/23117
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php index 8a10a9cfbec..5988a0b2d1d 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -423,7 +423,7 @@ class Setup { // Add rewrite base $webRoot = !empty(\OC::$WEBROOT) ? \OC::$WEBROOT : '/'; $content .= "\n<IfModule mod_rewrite.c>"; - $content .= "\n RewriteRule .* index.php [PT,E=PATH_INFO:$1]"; + $content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]"; $content .= "\n RewriteBase ".$webRoot; $content .= "\n <IfModule mod_env.c>"; $content .= "\n SetEnv front_controller_active true"; |