Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uri parameter '?' escaped for internal links #48

Closed
GoogleCodeExporter opened this issue Sep 6, 2015 · 3 comments
Closed

Uri parameter '?' escaped for internal links #48

GoogleCodeExporter opened this issue Sep 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant