Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13883

Pages with / (slash) in the name are saved in the wrong path in a XAR

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      For example if I have a page named "xMyFCHlw42O1o2+O/6/RGUycbMw=.xml " located in space "License.Certificates" and I export this page, it'll be saved in the XAR as:

      License/Certificates/xMyFCHlw42O1o2+O/6/RGUycbMw=.xml 
      

      And thus when I unzip the XAR it'll be located in the wrong directory on unix since the "/" in the page name is considered as a page separator:

      License/
        |_ Certificates/
          |_ xMyFCHlw42O1o2+O/
            |_ 6/
              |_ RGUycbMw=.xml 
      

      Thus when exporting a page in a XAR the "/" needs to be handled and possibly replaced by something else.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: