summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-08 11:02:33 +0100
committerGitHub <noreply@github.com>2018-02-08 11:02:33 +0100
commite2cb6a3b3c784d2882bb1e690560a1de0d0f1f48 (patch)
treea9ed4d7d0416b2c5204361881c9bde1d1979a3a8 /lib/private
parent78e3b6400aa1617f4bdbbc24b73b44d1f4c89571 (diff)
parentde07c82a4df73982b1ef798aa0b0a4ffafa8cdeb (diff)
downloadnextcloud-server-e2cb6a3b3c784d2882bb1e690560a1de0d0f1f48.tar.gz
nextcloud-server-e2cb6a3b3c784d2882bb1e690560a1de0d0f1f48.zip
Merge pull request #8183 from robert-scheck/pki-validation-stable13
[stable13] Handle SSL certificate verifications for others than Let's Encrypt
Diffstat (limited to 'lib/private')
-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 92246e8322e..c72b5f8bb8b 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -482,7 +482,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/.*";
+ $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>";