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

[vfs] HTTP transport fails when encoding is required

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: other
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: