Patch #6330
Hyperlinks with "%" or "!" at the end
Status: | New | Start date: | 2010-09-08 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Wiki | |||
Target version: | - |
Description
I've searched the issues, wiki and forum but couldn't find any help regarding an issue when inserting hyperlinks:
When you insert a link that ends with a symbol, e.g. "!" or "%", then the Wiki interprets this as punctuation rather than as part of the hyperlink. I've tried various ways of encapsulating the link but none seems to work.
A simple patch would be nice that allows inserting hyperlinks as they are, e.g. by placing them into inverted commas or placing the full <a href> HTML tag.
History
#1
Updated by Eric Voisard almost 12 years ago
I just have got same kind of wiki formatting issue with the 'source' tag and filenames containing whitespaces in the repository (unfortunately). Only first part of urls where considered links. I tried to replace the spaces with %20; html entities but they got escaped. It's the same for usual hyperlinks:
source:trunk/example_file name
http://www.redmine.org/example_file name
Not exactly the same problem as you reported but your proposal would fix it too.
Eric
#2
Updated by Balazs Nadasdi over 11 years ago
Eric Voisard wrote:
I just have got same kind of wiki formatting issue with the 'source' tag and filenames containing whitespaces in the repository (unfortunately). Only first part of urls where considered links. I tried to replace the spaces with %20; html entities but they got escaped. It's the same for usual hyperlinks:
source:trunk/example_file name
http://www.redmine.org/example_file nameNot exactly the same problem as you reported but your proposal would fix it too.
Eric
I don't found this bug... If i write a link with %20 instead of space the the url is correct..
example:
http://example.domain.tld/apple%20pear coool
I get an url: http://example.domain.tld/apple%20pear << with space
and a strng "coool" [exclude url]
#3
Updated by Balazs Nadasdi over 11 years ago
'Hyperlinks with "%" or "!" at the end'
fixed at http://github.com/Yitsushi/redmine/commit/5f57471d9c4ad4cf74042242bc697841b6516703