commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53303] New: [PATCH] ClassPath.getResource does not correctly perform URL escaping
Date Sun, 27 May 2012 22:01:19 GMT
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.

Mime
View raw message