Bug #89378

Preprossing of URLs for conversion to punycode truncates some URLs

Added by Sybille Peters almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2019-10-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The function ExternalLinktype::preprocessUrl truncates some URLs into an empty string.

The function was originally introduced in order to enable URLs with Umlaut in domains, e.g. https://äh.de

These are some of the URLs the function converts into empty strings:

https://www.nbank.de/Unternehmen/Ausbildung-Qualifikation/Weiterbildung-in-Niedersachsen/
https://www.oldenburg.de/startseite/wirtschaft/wirtschaftsfoerderung/beratung-foerderung/gruenderberatung/gruenderforen.html
http://www.nwzonline.de/tv?bcpid=1701167454001&bckey=AQ~~,AAAAAGL7LqU~,aXlKNnCf9d9Tmck-kOc4PGFfCgHjM5JR&bctid=1040702768001
http://www.uni-bremen.de/universitaet/die-uni-im-ueberblick/lageplan/gebaeude/building/120


These will then falsely be reported as broken links.

The function preprocessUrl was originally introduced to handle domains with special characters, see #55155

Also available in: Atom PDF