]> source.dussan.org Git - nextcloud-server.git/commitdiff
make sure that the ocm end-point discovery /ocm-provider is not redirected to the...
authorBjoern Schiessle <bjoern@schiessle.org>
Sun, 17 Feb 2019 16:18:21 +0000 (17:18 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 20 Feb 2019 09:35:14 +0000 (10:35 +0100)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
lib/private/Setup.php

index 0278191587ace84d127d24ab0b685eb439c38746..5b2f71e69c5a02b6114c29955aefe7e84a9fa3fb 100644 (file)
@@ -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;