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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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

          Priority: P2
            Bug ID: 53303
          Assignee: [hidden email]
           Summary: [PATCH] ClassPath.getResource does not correctly
                    perform URL escaping
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: [hidden email]
          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.
Reply | Threaded
Open this post in threaded view
|

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

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

Gary Gregory <[hidden email]> changed:

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

--- Comment #1 from Gary Gregory <[hidden email]> ---
Committed revision 1343226.

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