summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-20 15:32:38 +0100
committerGitHub <noreply@github.com>2019-02-20 15:32:38 +0100
commitbeba18224898777b559f3a657d890c0e9bdd7864 (patch)
tree6172de82eb66d11bfa10cd5da1204391b11d2dff /lib
parent0becd88feb63de6ac02b495ad1440d8bd7cdcbd2 (diff)
parentfaef05730a2fca6ca019f645685ad6a08839d71c (diff)
downloadnextcloud-server-beba18224898777b559f3a657d890c0e9bdd7864.tar.gz
nextcloud-server-beba18224898777b559f3a657d890c0e9bdd7864.zip
Merge pull request #14255 from nextcloud/fix-ocm-discovery
Fix ocm end-point discovery discovery
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Setup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 0278191587a..5b2f71e69c5 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -517,6 +517,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_FILENAME} !/ocm-provider/";
$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;