Skip to content

Commit

Permalink
Fix #467 bug on getSelfRoutedURLNoQuery method
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Feb 19, 2021
1 parent 5fd9812 commit e4c1fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Saml2/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public static function getSelfRoutedURLNoQuery()

$pos = strpos($selfRoutedURLNoQuery, "?");
if ($pos !== false) {
$selfRoutedURLNoQuery = substr($selfRoutedURLNoQuery, 0, $pos-1);
$selfRoutedURLNoQuery = substr($selfRoutedURLNoQuery, 0, $pos);
}

return $selfRoutedURLNoQuery;
Expand Down

0 comments on commit e4c1fb2

Please sign in to comment.