Issue Bug Closed

#87387Return type of TYPO3\CMS\Core\Http\NormalizedParams::determineSiteScript is wrong in some cases

Harald Atteneder 01/10/19, 11:21 updated 05/07/19, 12:13

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/

Reviews 2