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

DefaultHTMLDisplayer#getTemplate shouldn't create path with special characters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 11.2-rc-1, 10.11.4
    • None
    • Display
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Current implementation of getTemplate might lead to create path with characters not supported by the filesystem. The definition of the method says it can create path such as html_displayer/[type]/[mode].vm. But a type can be something like List<String>, and < character is not supported in Windows filesystem.

      We should not allow getTemplate to create such path and replace automatically those unsupported characters.

      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: