Project

General

Profile

Actions

Bug #92868

closed

linkvalidator: HttpUtility::idn_to_ascii() throws Exception

Added by Anonymous about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Linkvalidator
Target version:
-
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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #92230: Linkvalidator ExternalLinktype preprocessing fails and terminates link crawling with some URLsClosed2020-09-08

Actions
Actions

Also available in: Atom PDF