Patch #6330
openHyperlinks with "%" or "!" at the end
0%
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.
Updated by Eric Voisard over 14 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
Updated by Balazs Nadasdi about 14 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]
Updated by Balazs Nadasdi about 14 years ago
'Hyperlinks with "%" or "!" at the end'
fixed at http://github.com/Yitsushi/redmine/commit/5f57471d9c4ad4cf74042242bc697841b6516703