diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2019-02-17 17:18:21 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-02-20 10:35:14 +0100 |
commit | bdf48d8b4ed3d4a78f133331ccf3a536358638f4 (patch) | |
tree | e81875b2a97ca9208ee5bc8e7f5a836f4a2bc4e7 /lib | |
parent | 1b93af37d601ff40a6b05a195ae2138abe796e5a (diff) | |
download | nextcloud-server-bdf48d8b4ed3d4a78f133331ccf3a536358638f4.tar.gz nextcloud-server-bdf48d8b4ed3d4a78f133331ccf3a536358638f4.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>
Diffstat (limited to 'lib')
-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; |