diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2019-02-17 17:18:21 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-02-20 15:41:38 +0100 |
commit | 2bf2633c0518b331bf7bf006d6c5327cad6ccbe9 (patch) | |
tree | b2bc88a71fa6cab6400aa9905d9b256d3b221aef | |
parent | f3f8ab1a196467825d133a28785503d13e751172 (diff) | |
download | nextcloud-server-2bf2633c0518b331bf7bf006d6c5327cad6ccbe9.tar.gz nextcloud-server-2bf2633c0518b331bf7bf006d6c5327cad6ccbe9.zip |
make sure that the ocm end-point discovery /ocm-provider is not redirected to the index.php
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
-rw-r--r-- | lib/private/Setup.php | 1 |
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; |