diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-10 22:18:53 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-10 22:20:02 +0100 |
commit | 3e8decf5e9fbbaf27ef7ce59383e10244f7a6da5 (patch) | |
tree | 02b9af21fc89152ba84733431b90d9741e92c3ed /lib | |
parent | b502667f3a5e6f08fb2fefbac56134d074859c09 (diff) | |
download | nextcloud-server-3e8decf5e9fbbaf27ef7ce59383e10244f7a6da5.tar.gz nextcloud-server-3e8decf5e9fbbaf27ef7ce59383e10244f7a6da5.zip |
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"; |