Filter "Convert URLs into links" doesn't support multilingual web addresses

Created on 24 June 2012, over 12 years ago
Updated 28 August 2023, about 1 year ago

Hello,

I have a problem with the "Convert URLs into links" filter in drupal 7:

I have this filter activated for the "Full HTML" text format. If I create a new page and enter a URL with special characters (for example ä, ü, ö), the resulting clickable URL is formatted wrongly.

Example:
I create a new page with the following text:

www.test.de
www.daniel-müller.de

The sourcecode of the resulting page looks like this:

<a href="http://www.test.de">www.test.de</a>
<a href="http://www.daniel-m">www.daniel-m</a>üller.de

Problem: If there is a special character (like the 'ü' in the second URL), the clickable URL is cut off just before the special character.

Is this a general problem with drupal 7 or something in my server / drupal - configuration?

Current Status

This has been committed to Drupal 8. For Drupal 7, the patch in #39 seems to work for people but unless/until we provide a fallback as mentioned in #23, this issue is blocked from being included in Drupal 7 core.

🐛 Bug report
Status

Needs work

Version

7.0 ⚰️

Component
Filter 

Last updated about 5 hours ago

No maintainer
Created by

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024