summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup.php
diff options
context:
space:
mode:
authorDan Callahan <dan.callahan@gmail.com>2018-02-28 13:30:18 +0000
committerDan Callahan <dan.callahan@gmail.com>2018-02-28 13:50:54 +0000
commit87975900992aaa8fd0fd6dc997dd8aba6a7d60a1 (patch)
treebb48b4d6535cda1cbaf49a0b0bb505f5444009cd /lib/private/Setup.php
parent0cfdf4748f248e1b55fc459a05e7782a1e585716 (diff)
downloadnextcloud-server-87975900992aaa8fd0fd6dc997dd8aba6a7d60a1.tar.gz
nextcloud-server-87975900992aaa8fd0fd6dc997dd8aba6a7d60a1.zip
Correct mistaken regex wildcard in .htaccess
Fixes #8578 Signed-off-by: Dan Callahan <dan.callahan@gmail.com>
Diffstat (limited to 'lib/private/Setup.php')
-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>";