Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-15

[VFS] Remote filenames with '?' causes local replication problem on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Bugzilla Id:
      34976

      Description

      In attempting to use the ZIP filesystem to access a file from HTTP, it is common to encounter filenames
      that contain '?', such as zip:http://somehost.com/download.cgi?fileid=1234. '?' is an illegal character for
      filenames under Windows, so when the DefaultFileReplicator goes to create a local copy of this file, one
      gets a replication exception.

      A simple workaround is to modify DefaultFileReplicator.createFileName() to filter out such characters or
      replace them with underscores.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jsc@alum.mit.edu Jin Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: