Defect #118

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

Added by Go MAEDA about 10 years ago. Updated about 10 years ago.

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

0%

Category:-
Target version:-
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>
-----

History

#1 Updated by Jean-Philippe Lang about 10 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

#2 Updated by Cyril Mougel about 10 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

Also available in: Atom PDF