Merge pull request #3754 from trustelem/user_saml-samesite-exclude

Extend Same Site cookie user_saml exemption rule
This commit is contained in:
Lukas Reschke 2017-03-09 12:53:21 +01:00 committed by GitHub
commit 6d10a2aece
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ class OC {
//
// Questions about this code? Ask Lukas ;-)
$currentUrl = substr(explode('?',$request->getRequestUri(), 2)[0], strlen(\OC::$WEBROOT));
if($currentUrl === '/index.php/apps/user_saml/saml/acs') {
if($currentUrl === '/index.php/apps/user_saml/saml/acs' || $currentUrl === '/apps/user_saml/saml/acs') {
return;
}
// For the "index.php" endpoint only a lax cookie is required.