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>
pull/14255/head
Bjoern Schiessle 7 years ago committed by Morris Jobke
parent 1b93af37d6
commit bdf48d8b4e
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
  1. 1
      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;

Loading…
Cancel
Save