Line feed/New line on the page title breaks the page history links

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      Confluence front-end accepts a text with line feed (Ctrl+J) as the page title. The links at the breadcrumbs and View Page will have the line feed URL added to it throwing a 404.

      Steps to Reproduce

      1. To add the line feed to the text, open notepad on Windows
      2. Type e.g. Windows then hit Ctrl + J then add e.g. _text after it
      3. Copy the text
      4. Create a new Confluence page or Edit an existing one
      5. Past the new title (the info you just copied)
      6. Save it
      7. At the top-right corner, select ... then Page History
      8. Compare the current with the previous version
      9. Hit either the breadcrumbs link at the top or View Page

      Expected Results

      Redirected to a link to the content (without the title) e.g.
      https://zelda.atlassian.net/wiki/spaces/~243847003/pages/21233694/

      Actual Results

      Redirected to a broken link e.g.
      https://zelda.atlassian.net/wiki/spaces/~243847003/pages/21233694/Windows%0A%0ATest+%0ANew+%0Apage that throws a 404 error.

      Workaround

      Edit the page remove the line feeds/new lines.

              Assignee:
              Unassigned
              Reporter:
              João Nunes (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: