Type: Service Pack Request
Status: Closed (View Workflow)
Affects Version/s: 5.2
Environment:Ubuntu 14.04, Tomcat7, PostgreSQL
Ampersand in Wiki page title breaks search link in the full search results page. This looks like a regression of
Steps to reproduce
1. Create a new wiki page in Share with a title containing an ampersand, e.g. "Foo & Bar"
2. Search for the page title or some part of it via quicksearch
3. The link on the search results page will contain the ampersand un-escaped (e.g. share/page/site/wikis/wiki-page?title=Foo_&_Bar ), which breaks the link. (The link in quicksearch dropdown does work)
4. Click on the wiki page link and inspect the routing behaviour
Search page will direct to the wiki page "Foo & Bar"
You will be directed to a new page "Foo " although the URL in the address bar is: http://localhost:8080/share/page/site/test-00873839/wiki-page?title=Foo_&_Bar as the & charcater is not URL encoded.
Reproduced in ACS 5.2