Issue Bug Closed

#92868linkvalidator: HttpUtility::idn_to_ascii() throws Exception

Anonymous 11/18/20, 15:25 updated 11/19/20, 10:33

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.