Defect #118
cannot show URL which contains '~'(0x7e, tilde) in /issues/show
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected version: | Resolution: |
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/</sub>user/</a>x%x%
lt;/p>
-----
History
Updated by Cyril Mougel over 4 years ago
I made a functional test who failed for this issue :
When I can't attach a file. I made a pastie :
Updated by Jean-Philippe Lang over 4 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