rehamaltamimi / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

Uri parameter '?' escaped for internal links #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create wiki:   go to a [[search/?entity=dance+class|parameterised link]]
2. parse to HTML
3.

What is the expected output? What do you see instead?

I would hope the link would be an escaped: {url 
base}/search/?entity=dance%2Bclass

The '?' gets escaped too, tho, outputing /search/%3Fentity%3Ddance%2Bclass
The browser then gets a bit confused and doesn't recognise the url parameter.

What version of the product are you using? On what operating system?
3.0.14 / Debian 

Please provide any additional information below.

Maybe this is invalid, or just not accepted for internal links.
It works for external links ok.

Original issue reported on code.google.com by oliver.e...@gmail.com on 7 Jul 2010 at 8:58

GoogleCodeExporter commented 8 years ago
That's the same behaviour as in the http://en.wikipedia.org

You can try to create an interwiki link from this. Something like:
[[search:entity=dance+class|parameterised link]]

See: the method
info.bliki.wiki.model.Configuration#addInterwikiLink("search", "{url 
base}/search/?${title}");

Original comment by axelclk@gmail.com on 8 Jul 2010 at 4:02

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 8 Jul 2010 at 4:02

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 27 Jan 2012 at 3:47