You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by bu...@apache.org on 2012/05/28 00:01:19 UTC

[Bug 53303] New: [PATCH] ClassPath.getResource does not correctly perform URL escaping

https://issues.apache.org/bugzilla/show_bug.cgi?id=53303

          Priority: P2
            Bug ID: 53303
          Assignee: issues@commons.apache.org
           Summary: [PATCH] ClassPath.getResource does not correctly
                    perform URL escaping
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: lenbok@gmail.com
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: Main
           Product: BCEL

Created attachment 28841
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28841&action=edit
Convert use of File.toURL() to File.toURI().toURL()

When asking for resources with a space in the name, these should be URL escaped
but are not. The patch replaces the deprecated File.toURL() with
File.toURI().toURL() which fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53303] [PATCH] ClassPath.getResource does not correctly perform URL escaping

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53303

Gary Gregory <ga...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Gary Gregory <ga...@gmail.com> ---
Committed revision 1343226.

-- 
You are receiving this mail because:
You are the assignee for the bug.