summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-02-28 22:36:14 +0100
committerGitHub <noreply@github.com>2018-02-28 22:36:14 +0100
commitfb322322fca2acc3bc66a5ba070d1cf2b8ef8619 (patch)
treec0b527b311b526ecfad146e6a4ac68b0ec7e185c /lib
parentfaca63460600665cd9de5619188d0187c6f40d3e (diff)
parent87975900992aaa8fd0fd6dc997dd8aba6a7d60a1 (diff)
downloadnextcloud-server-fb322322fca2acc3bc66a5ba070d1cf2b8ef8619.tar.gz
nextcloud-server-fb322322fca2acc3bc66a5ba070d1cf2b8ef8619.zip
Merge pull request #8581 from callahad/fix-8578
Correct mistaken regex wildcard in .htaccess
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 212deeeba0f..5564bb5b072 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -490,7 +490,7 @@ class Setup {
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/robots.txt";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/updater/";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
- $content .= "\n RewriteCond %{REQUEST_URI} !^/.well-known/(acme-challenge|pki-validation)/.*";
+ $content .= "\n RewriteCond %{REQUEST_URI} !^/\\.well-known/(acme-challenge|pki-validation)/.*";
$content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]";
$content .= "\n RewriteBase " . $rewriteBase;
$content .= "\n <IfModule mod_env.c>";