[BUGFIX] Cast $siteUrl to string
authorJochen Roth <jochen.roth@b13.com>
Fri, 23 Jul 2021 12:05:38 +0000 (14:05 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 26 Jul 2021 16:58:30 +0000 (18:58 +0200)
commit906873a68d490d11461bc419c30ed8046cfb8baf
tree14da72ac0399dd5c7e2697a26aa4d1c1c6849d23
parent4ab93f353cbf4d4eefd83891923e60c0c61897bb
[BUGFIX] Cast $siteUrl to string

In case substr returns false $siteUrl
is now casted to string and covered
by an additional unit test.

Resolves: #94624
Releases: master
Change-Id: Id778319104d107c329a2ee8f947571a87e3c401d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70059
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Http/NormalizedParams.php
typo3/sysext/core/Tests/Unit/Http/NormalizedParamsTest.php