-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Notifications - Email, Page - Linking
-
None
-
2
-
Severity 3 - Minor
Issue Summary
If a page title contains a line break, the line break in the URL will be encoded to %0A (for example, in notification emails).
When visiting the page via that encoded URL, Chrome returns a "This site.atlassian.net page can’t be found" error (Firefox just doesn't load anything)
This looks similar to a previously closed bug: CONFCLOUD-73509 – Line feed/New line on the page title breaks the page history links
Steps to Reproduce
- Using any text editor (but Confluence) create a title spanning two lines
- Using Atlassian Account A: Create a new Confluence page and copy the two lines into the title
- Publish the page (side note, the published version actually shows the content on 1 line)
- Watch the page
- Using Atlassian Account B: leave a comment on the page
- Wait for the comment email notification to arrive in the Account A's email
- Click the title of the page in the notification email (notice the URL contains %0A)
- Notice the page won't load
- Remove everything from the URL starting from (and including) %0A
- Notice the page will load
Expected Results
Page loads fine, regardless if there's a line break in the title
Actual Results
When visiting the page via that encoded URL, Chrome returns a "This site.atlassian.net page can’t be found" error
Workaround
- Remove the line break from the page title
- If the link already contains the line break, remove any parts of the URL following and including %0A