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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • Operating System: Windows XP
      Platform: PC

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment