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 ab20c86 commit 9c42c47Copy full SHA for 9c42c47
2 files changed
lib/Saml2/Utils.php
@@ -709,8 +709,12 @@ protected static function buildWithBaseURLPath($info)
709
if (!empty($baseURLPath)) {
710
$result = $baseURLPath;
711
if (!empty($info)) {
712
- // Remove base path from the path info.
713
- $extractedInfo = str_replace($baseURLPath, '', $info);
+ $extractedInfo = $info;
+ if ($baseURLPath != '/') {
714
+ // Remove base path from the path info.
715
+ $extractedInfo = str_replace($baseURLPath, '', $info);
716
+ }
717
+
718
// Remove starting and ending slash.
719
$extractedInfo = trim($extractedInfo, '/');
720
if (!empty($extractedInfo)) {
lib/Saml2/version.json
@@ -1,6 +1,6 @@
1
{
2
"php-saml": {
3
- "version": "2.20.0",
4
- "released": "30/05/2024"
+ "version": "2.21.0",
+ "released": "25/05/2025"
5
}
6
0 commit comments