Actions
Bug #92868
closedlinkvalidator: HttpUtility::idn_to_ascii() throws Exception
Start date:
2020-11-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
Hello,
I work with TYPO3 9.5.23.
Linkvalidator could not handel such an url like "http://#3.0".
In "ExternalLinktype.php" -> preprocessUrl()
$url = 'http://#3.0';
$parts = parse_url($url);
$parts['host'] then equals null, and "HttpUtility::idn_to_ascii()" throws the exception.
Linkvalidator should classifiy such url as bad url, instead of throwing exception.
Thanks,
Sinian
Actions