MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-1176

XmlTemplate fails when filename contains spaces on WindowsXP

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.7-SNAPSHOT
    • Fix Version/s: 1.1.7
    • Component/s: XmlTemplate
    • Labels:
      None
    • Environment:
      Windows XP SP2

      Description

      XmlTemplate uses URLs. From this it extracts the filename and uses this to load a file. WindowsXP at least doesn't understand the %20 encoding for spaces in a filename. Attached patch replaces instances of %20 in URL filepath with " " in filepath use to open file.

      1. XmlTemplateTest-508758-patch.txt
        2 kB
        Jayson Raymond
      2. XmlTemplate-472727-patch.txt
        1 kB
        Jayson Raymond

        Activity

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Jayson Raymond
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development