Project

General

Profile

Actions

Defect #118

closed

cannot show URL which contains '~'(0x7e, tilde) in /issues/show

Added by Go MAEDA over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

URL in Description field cannnot be displayed properly when it has '~'.

For example, the string "http://www.example.com/~user/" in Description field will be rendered to following
HTML.

-----
<p><a class="external"
href="http://www.example.com/<sub>user/”>http://www.example.com/&lt;/sub&gt;user/&lt;/a&gt;x%x%
lt;/p>
-----

Actions #1

Updated by Cyril Mougel over 16 years ago

I made a functional test who failed for this issue :

When I can't attach a file. I made a pastie :

http://pastie.caboo.se/103349

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

Fix committed in r796.

Cyril, there is now a specific test for wiki formatting.
See: test/unit/helpers/application_helper_test.rb
I've added this case in test_auto_links

Actions

Also available in: Atom PDF