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

VFS Tree Macro cannot be used with attachment containing space in their name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.4-rc-1
    • 11.10.4, 12.3-rc-1
    • VFS
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      We cannot use the VFS Tree Macro with an attachment containing a space in its name.

      Reproduction steps:

      • Create a new page and attach a zip containing a space in its name (like the one attached)
      • Edit the page to use the VFS Tree Macro like this:
        {{vfsTree root="attach:Test.WebHome@test vfs2.zip/"/}}
        
      • View the page

      Expected the result:

      • the tree with the content of the archive should be displayed

      Obtained result:

      • the page is remained blank, we see a very quick loop though
      • No error on the console or in the JSON resource

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: