-
Bug
-
Resolution: Tracked Elsewhere
-
Medium
-
Confluence 4.3
Linux Debian Squeeze
JDK 1.7
-
19
-
Severity 2 - Major
-
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Description
Links within the same page don't work if the page title has ampersands.
Steps to replicate it:
- Create a new page with a title that has ampersands (e.g. Test & Test)
- Enter some content
- Create an anchor somewhere in the page (e.g. testanchor)
- Create a link to the anchor created in above step
The link built by Confluence has the following format:
http://[host name]/pages/viewpage.action?pageId=[page id]#Test&Test-testanchor
which is not correctly resolved, and therefore clicking on the link doesn't navigate to the anchor.
If I manually modify the link to:
http://[host name]/pages/viewpage.action?pageId=[page id]#Test&Test-testanchor
or:
http://[host name]/pages/viewpage.action?pageId=[page id]#Test%26Test-testanchor
The link works correctly.
- is related to
-
CONFSERVER-28682 Links to anchors in the same page don't work if page title contains special characters (eg ampersand, colon, slash, parentheses)
- Closed
- mentioned in
-
Page Loading...