Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-61

Confluence XML importer breaks pages with slash character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.15.0
    • None
    • XML
    • None
    • Unit
    • Unknown

    Description

      The error reported by Tomcat looks like:

      HTTP Status 400 – Bad Request
      Type Status Report
      Message Invalid URI: noSlash
      Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
      Apache Tomcat/8.5.61

      ---------------------------------------------------------------------------------------------

      Steps to reproduce:

      1. Create a Confluence with one or more pages containing "slash" --> "/" in the page title.

      2. Export the Space to XML and follow the import guide on https://xwiki.com/en/Blog/Confluence-to-XWiki-migration-export-import/

      3. The issue appears while loading the imported page in XWiki. It doesn't matter if you run the Nested Pages Migrator Application, the pages with slash don'tload before nor after.

      ---------------------------------------------------------------------------------------------

      More details about the platform (not sure if relevant):
      Server version name: Apache Tomcat/8.5.61
      Server built: Dec 3 2020 14:03:28 UTC
      Server version number: 8.5.61.0
      OS Name: Linux
      OS Version: 4.14.x
      Architecture: amd64
      Java Home: /volume1/.@plugins/AppCentral/jre
      JVM Version: 1.8.0_191-b12
      JVM Vendor: Oracle Corporation

      ---------------------------------------------------------------------------------------------

      The XML was exported from Confluence 7.0.1

      ---------------------------------------------------------------------------------------------

      Side note: I noticed Xwiki itself has no issue creating new pages with "/" in the title, these load normally in Tomcat without an error message appearing.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              jaapio Jaap
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: