You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 10:13:22 UTC
[jira] [Updated] (BCEL-167) ClassPath.getResource does not
correctly perform URL escaping
[ https://issues.apache.org/jira/browse/BCEL-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated BCEL-167:
--------------------------------
Priority: Blocker
Environment: (was: Operating System: Linux
Platform: PC)
Fix Version/s: 6.0
Summary: ClassPath.getResource does not correctly perform URL escaping (was: [PATCH] ClassPath.getResource does not correctly perform URL escaping)
> ClassPath.getResource does not correctly perform URL escaping
> -------------------------------------------------------------
>
> Key: BCEL-167
> URL: https://issues.apache.org/jira/browse/BCEL-167
> Project: Commons BCEL
> Issue Type: Bug
> Components: Main
> Affects Versions: unspecified
> Reporter: Len Trigg
> Assignee: Apache Commons Developers
> Priority: Blocker
> Fix For: 6.0
>
> Attachments: toURI.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)