Skip to content

Commit

Permalink
Merge pull request #34113 from owncloud/stable10-ocm-clean-url-support
Browse files Browse the repository at this point in the history
[stable10] Fix access to /ocm-provider when clean urls are active
  • Loading branch information
Vincent Petry authored Jan 10, 2019
2 parents 6207d2c + c385fa2 commit e74d4be
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 @@ -451,6 +451,7 @@ public static function updateHtaccess() {
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php";
$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 e74d4be

Please sign in to comment.