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

[vfs] HTTP transport fails when encoding is required

    XMLWordPrintableJSON

    Details

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

      Operating System: other
      Platform: All

    • Bugzilla Id:
      34122

      Description

      Hi All,

      Hope all is going well.

      After a bit of experimenting with Commons VFS, I've noticed that it doesn't
      encode URI's before requesting data, when using the HTTP provider.

      This means that if a URI includes spaces, etc, then it VFS fails to be able to
      read from it.

      The attached patch fixes this by encoding the URI path before making any HTTP
      requests.

      Cheers,

      Marcus

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              crafterm@apache.org Marcus Crafter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: