Project

General

Profile

Actions

Bug #97949

open

Linkvalidator does not handle german umlauts correctly

Added by Kai Strecker almost 2 years ago. Updated 12 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2022-07-15
Due date:
% Done:

0%

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

Description

Steps to reproduce:
  1. Create a page of type "External link".
  2. Set for example "https://bäder.friedrichshafen.de/wellenfreibad/" as url.

Result: The linkvalidator thinks the url is "https://b", which leads to the error "Couldn't resolve host.".

This error also occurs, if the url is in a rte field.

Actions #1

Updated by Georg Ringer almost 2 years ago

  • Status changed from New to Needs Feedback

thanks for creating the issue. I checked this in latest 11 and 12-dev and can't reproduce it. can you please retest on a clean installation again? that would be great!

Actions #2

Updated by Oliver Bartsch almost 2 years ago

  • Status changed from Needs Feedback to Accepted

I was able to reproduce this on current main.

Actions #3

Updated by Stefan Bürk almost 2 years ago

Not exact the same, but kind of related:

There is a patch pending (currently) which refactors the url softref parser.
I added a test case for this issue outcommented to that patch, which shows
that current and refactored behaviour do not handles urls with german umlauts
properly.

https://review.typo3.org/c/Packages/TYPO3.CMS/+/75200

Also this report is not for the softref parser (or is this involved in this ?) but
for a "external link" page type.

I think, german umlaut domain support should be evaluated to all the link stuff in
core.

Actions #4

Updated by Andreas Kienast over 1 year ago

  • Sprint Focus set to On Location Sprint
Actions #5

Updated by Albrecht Köhnlein over 1 year ago

I can confirm the problem and will try to dig into it. #t3dd22

Actions #6

Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75377

Actions #7

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75377

Actions #8

Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75377

Actions #9

Updated by Oliver Hader over 1 year ago

  • Sprint Focus deleted (On Location Sprint)
Actions #10

Updated by Gerrit Code Review 12 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75377

Actions #11

Updated by Gerrit Code Review 12 months ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75377

Actions

Also available in: Atom PDF