Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-78361

URLs generated from a page title that combines non-ASCII and ASCII characters separated by a period results in a 404 error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • Page - Linking
    • None

    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

      1. Create a page in Confluence, and name it "€ . Test"
      2. 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:

      1. 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.
      2. There has to be a period immediately following the non-ASCII characters. I was unable to reproduce the issue with any other punctuation.
      3. 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

      1. Update the title:
        1. Remove the period from the title, or
        2. Change the title so it starts with ASCII characters, or
        3. Remove either the non-ASCII or ASCII characters (so the title doesn't combine the two)
      2. 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

          Activity

            People

              jramos@atlassian.com Josh Ramos
              smackie@atlassian.com Shannon S
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: