Project

General

Profile

Actions

Defect #12397

closed

Error in Textile conversion of HTTP links, containing russian letters

Added by Albert Shakirov almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
High
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I've just upgraded to the latest Redmine version and got this error:
when I try to write links using "Title":URL notation and I use russian letters in the URL part, my links become broken.
The same error I've got on your demo.redmine.org page.

Let's try it right here:
in Russian:
ТЕСТ

in English:
Test

Redmine version 2.1.2.stable
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.8


Related issues

Related to Redmine - Patch #12077: Links ending with non-english letters don't parse completelyClosed

Actions
Actions #1

Updated by Albert Shakirov almost 12 years ago

Yes! The same error is on your site.
In Redmine 1.4 version everything was OK.
Again, the problem in the links like this (in this example I'm going to put some spaces to prevent it to convert to URL link with title):
"ТЕСТ" : http :// www.test.ru / Тест

Actions #2

Updated by fangzheng (方正) almost 12 years ago

By the way, when I add some english chars at the end of the url, it works fine. see below:

http://www.redmine.org/тест
http://www.redmine.org/тест

http://www.redmine.org/тестABC
http://www.redmine.org/тестABC

http://www.redmine.org/тест123
http://www.redmine.org/тест123

Specially:
http://www.redmine.org/тест/
http://www.redmine.org/тест/

So add a "/" at the end could be a workaround.

Actions #3

Updated by Albert Shakirov almost 12 years ago

Yes, I know that. I've done a lot of experiments. The error appears when the LAST LETTER in the URL is Russian letter.
Unfortunatly, adding a slash to the end is not an option for me. My links refer to wiki pages (to another site, not Redmine wiki), so URL with a "/" at the end isn't correct.

Actions #4

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.2.0
  • Resolution set to Fixed

It's fixed in r10879 with tests. Only works with ruby1.9.

Actions

Also available in: Atom PDF