Patch #12077

Links ending with non-english letters don't parse completely

Added by Sergey Bir almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-

Description

Here is an example, a link that ends with russian letters. But not the whole link becomes clickable:
http://domain.com/something/неплохо

If i put a trailing slash or brackets around it - it parses correctly:
http://domain.com/something/неплохо/
(http://domain.com/something/неплохо)

This bug is a pain because wiki urls with or without a trailing slash are different

text-formatting-with-non-english-letters.diff Magnifier (6.09 KB) Danil Tashkinov, 2012-11-19 10:58


Related issues

Related to Redmine - Defect #8055: Links ending with curly brackets are not correctly interp... New 2011-04-04
Related to Redmine - Defect #12397: Error in Textile conversion of HTTP links, containing rus... Closed

History

#1 Updated by Sergey Bir almost 7 years ago

similar to #8055

#2 Updated by Toshi MARUYAMA almost 7 years ago

  • Category changed from Issues to Text formatting

#3 Updated by Danil Tashkinov almost 7 years ago

Please see the attached patch. Have modified regular expression and application_helper_test.
redmine version 1.4.5

#4 Updated by Jan Niggemann (redmine.org team member) over 6 years ago

  • Tracker changed from Defect to Patch

#5 Updated by Filou Centrinov over 6 years ago

It's seems to be fixed, isn't it?

#6 Updated by Sergey Bir over 6 years ago

  • Status changed from New to Resolved

yeah now it seems to be fixed

#7 Updated by Toshi MARUYAMA over 6 years ago

  • Status changed from Resolved to Closed

Sergey Bir wrote:

yeah now it seems to be fixed

It seems fixed by #12397.
Thank you for your feedback.

Also available in: Atom PDF