Actions
Bug #87387
closedReturn type of TYPO3\CMS\Core\Http\NormalizedParams::determineSiteScript is wrong in some cases
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-01-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
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/
Actions