This issue has been created
 
 
Confluence / cid:jira-generated-image-avatar-d967d143-01f2-4f24-8fbe-85b13d35de95 CONFLUENCE-256 Open

Migrator does not respect named strategy

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-3f51c33e-a73e-42d9-ade3-5820e5f6516a Nikita Petrenko created this issue on 17/Jul/24 13:26
 
Summary: Migrator does not respect named strategy
Issue Type: cid:jira-generated-image-avatar-d967d143-01f2-4f24-8fbe-85b13d35de95 Bug
Affects Versions: 9.49.1
Assignee: Unassigned
Attachments: name strategies.png, tomcat error.png
Components: Syntax - Confluence
Created: 17/Jul/24 13:26
Environment: Windows 10
Priority: cid:jira-generated-image-static-major-dd76a478-d721-4f60-8edf-cc78778a1f22 Major
Reporter: Nikita Petrenko
Description:

Prerequisites:

  • XWiki instance with Tomcat servlet
  • The "catalina.proprties" file has to have these lines of code
    org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=false
    org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=false
    
  • Default Name Strategies in XWiki instance

Steps to reproduce:

  1. Create a page with slash or backslah in Confluence
  2. Export it as XML package
  3. Import this package in latest version of Confluence Migrator (for creation date of this ticket is 1.22.2)
  4. After migration try to access the page

Actual result

You'll get 400 bad request error from Tomcat servlet

Expected result

The page can be accessed without errors.