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
Updated by Anonymous about 4 years ago
- Subject changed from HttpUtility::idn_to_ascii() throws Exception to linkvalidator: HttpUtility::idn_to_ascii() throws Exception
Updated by Sybille Peters about 4 years ago
- Category set to Linkvalidator
- Assignee set to Sybille Peters
There is already a patch which was merged in to master (11) and 10.
Can you check if the patch for 9.5 solves the problem? https://review.typo3.org/c/Packages/TYPO3.CMS/+/66146
If yes, please review and / or test and leave votes.
Updated by Sybille Peters about 4 years ago
- Related to Bug #92230: Linkvalidator ExternalLinktype preprocessing fails and terminates link crawling with some URLs added
Updated by Sybille Peters about 4 years ago
- Status changed from New to Closed
Closing this as duplicate. See #92230
Actions