We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888e333 commit d3285e3Copy full SHA for d3285e3
src/Saml2/Utils.php
@@ -654,7 +654,7 @@ public static function getSelfRoutedURLNoQuery()
654
655
$pos = strpos($selfRoutedURLNoQuery, "?");
656
if ($pos !== false) {
657
- $selfRoutedURLNoQuery = substr($selfRoutedURLNoQuery, 0, $pos-1);
+ $selfRoutedURLNoQuery = substr($selfRoutedURLNoQuery, 0, $pos);
658
}
659
660
return $selfRoutedURLNoQuery;
0 commit comments