Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.7, 5.7.1
-
None
Description
A wrong URL is received via email when it is shared the link of a preview of attachment at page with special characters in the title.
Steps to reproduce:
- Create a page with special characters in the title (e.g. "(", ")" or "@");
- Upload and include an attachment;
- Save the page;
- Click to preview the attachment;
- Share the attachment (not the page) with your user or email;
- Go to your mail inbox, open the email received from confluence, click to open the link to the attachment (not the link to the page).
- Result: Page Not Found
Causes:
The link to preview attachments, in pages with titles with special characters, is something like that:
<base url>/pages/viewpage.action?pageId=<num>&preview=<attachment>...
However, when Confluence shares the link to the preview of the attachment, instead of inserting a "&" after the pageId=<num>, Confluence is inserting a wrong additional "?", such as:
<base url>/pages/viewpage.action?pageId=<num>?preview=<attachment>...
Workaround:
Change the page title, removing the special characters.
Attachments
Issue Links
- Testing discovered
-
CONFSERVER-38432 @ character not escaping properly in URLs
- Gathering Impact