Actions
Bug #96399
closedInvalid string cast of idn_to_ascii()
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
GeneralUtility::isValidUrl()
makes use of idn_to_ascii
, whose result is cast to string. Afterward, the result is checked for being false
, which does not make sense in this context, as this will never be false.
Actions