Defect #12397
closedError in Textile conversion of HTTP links, containing russian letters
0%
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
Updated by Albert Shakirov about 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 / Тест
Updated by fangzheng (方正) about 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.
Updated by Albert Shakirov about 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.
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.