Project

General

Profile

Actions

Bug #92868

closed

linkvalidator: HttpUtility::idn_to_ascii() throws Exception

Added by Anonymous over 3 years ago. Updated over 3 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 #1

Updated by Anonymous over 3 years ago

  • Subject changed from HttpUtility::idn_to_ascii() throws Exception to linkvalidator: HttpUtility::idn_to_ascii() throws Exception
Actions #2

Updated by Sybille Peters over 3 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.

Actions #3

Updated by Sybille Peters over 3 years ago

  • Related to Bug #92230: Linkvalidator ExternalLinktype preprocessing fails and terminates link crawling with some URLs added
Actions #4

Updated by Sybille Peters over 3 years ago

  • Status changed from New to Closed

Closing this as duplicate. See #92230

Actions

Also available in: Atom PDF