File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -709,8 +709,12 @@ protected static function buildWithBaseURLPath($info)
709709 if (!empty ($ baseURLPath )) {
710710 $ result = $ baseURLPath ;
711711 if (!empty ($ info )) {
712- // Remove base path from the path info.
713- $ extractedInfo = str_replace ($ baseURLPath , '' , $ info );
712+ $ extractedInfo = $ info ;
713+ if ($ baseURLPath != '/ ' ) {
714+ // Remove base path from the path info.
715+ $ extractedInfo = str_replace ($ baseURLPath , '' , $ info );
716+ }
717+
714718 // Remove starting and ending slash.
715719 $ extractedInfo = trim ($ extractedInfo , '/ ' );
716720 if (!empty ($ extractedInfo )) {
Original file line number Diff line number Diff line change 11{
22 "php-saml" : {
3- "version" : " 2.20 .0" ,
4- "released" : " 30 /05/2024 "
3+ "version" : " 2.21 .0" ,
4+ "released" : " 25 /05/2025 "
55 }
66}
You can’t perform that action at this time.
0 commit comments