#87387Return type of TYPO3\CMS\Core\Http\NormalizedParams::determineSiteScript is wrong in some cases
Description
Should always return a string. But substr returns a boolean when $start is greater or equal to the length of the string itself.
Therefore TYPO3\CMS\Core\Http\NormalizedParams::determineSiteScript throws the following error:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Return value of TYPO3\CMS\Core\Http\NormalizedParams::determineSiteScript() must be of the type string, boolean returned | TypeError thrown in file /html/public/typo3/sysext/core/Classes/Http/NormalizedParams.php in line 809. Requested URL: http://domain.tld/