Skip to content

Commit

Permalink
make sure that the ocm end-point discovery /ocm-provider is not redir…
Browse files Browse the repository at this point in the history
…ected to the index.php

Signed-off-by: Bjoern Schiessle <[email protected]>
  • Loading branch information
schiessle authored and MorrisJobke committed Feb 20, 2019
1 parent 1b93af3 commit bdf48d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ public static function updateHtaccess() {
$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;
Expand Down

0 comments on commit bdf48d8

Please sign in to comment.