Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Minor
-
Description
Issue Summary
The URL generated from a page title that combines non-ASCII and ASCII characters separated by a period will result in a 404 error.
Steps to Reproduce
- Create a page in Confluence, and name it "€ . Test"
- The link that's generated will be in the format ".+Test"
Other examples you can use to test:
- テストページ. Test Page
- Тестовая страница. Test Page
Three things need to happen in order to reproduce the issue:
- The title has to begin with non-ASCII characters. This includes symbols and also non-English characters, such as Chinese/Japanese/Korean (CJK) characters, accent marks, and Cyrillic.
- There has to be a period immediately following the non-ASCII characters. I was unable to reproduce the issue with any other punctuation.
- After the period, there must be some ASCII characters.
Expected Results
Generally, Confluence would ignore the non-ASCII characters and generate the URL without a title, for example, /wiki/spaces/KEY/pages/1234567/
Actual Results
The generated page URL ignores the non-ASCII characters and begins the page title with a period/decimal, followed by the ASCII characters.
When you try to visit that URL, you encounter a 404 error. (This is due to related bug CONFCLOUD-78305)
404 Not Found
openresty
Workaround
- Update the title:
- Remove the period from the title, or
- Change the title so it starts with ASCII characters, or
- Remove either the non-ASCII or ASCII characters (so the title doesn't combine the two)
- Otherwise, share the page tiny link, either available from Page information or by clicking on the 🔗 link icon in the top-right of the page.
Attachments
Issue Links
- is caused by
-
CONFCLOUD-78305 Page titles starting with a dot or period (.) generate a 404 error
- Closed