-
Bug
-
Resolution: Fixed
-
Medium
-
4.3, 5.1.4, 5.4.2, 5.7, 5.9.10, 5.8.18
-
Confluence 4.3
Linux Debian Squeeze
JDK 1.7
-
10
-
Severity 2 - Major
-
3
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? 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.
- relates to
-
CONFCLOUD-28682 Links to anchors in the same page don't work if page title contains special characters (eg ampersand, colon, slash, parentheses)
- Closed
-
CONFSERVER-40039 Confluence anchor link redirection is broken with title containing double quote or colon or tab
- Gathering Impact
- mentioned in
-
Page Loading...