You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Concini (JIRA)" <de...@myfaces.apache.org> on 2010/10/11 21:19:37 UTC
[jira] Resolved: (MYFACES-2941) Facelets classpath does not always
properly decode filesystem paths
[ https://issues.apache.org/jira/browse/MYFACES-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Concini resolved MYFACES-2941.
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3-SNAPSHOT
> Facelets classpath does not always properly decode filesystem paths
> -------------------------------------------------------------------
>
> Key: MYFACES-2941
> URL: https://issues.apache.org/jira/browse/MYFACES-2941
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.0.0, 2.0.1, 2.0.2
> Reporter: Michael Concini
> Assignee: Michael Concini
> Fix For: 2.0.3-SNAPSHOT
>
>
> The current implementation of _getAlternativeJarFile(URL url) in org.apache.myfaces.view.facelets.Classpath does not currently decode the filesystem path to remove escaped white-space prior to calling the JarFile constructor. This can cause FileNotFoundExceptions on Windows if the jar's path is under a directory like "Program Files" or "Documents and Settings".
> Planning to re-use the decodeUrl method from the commons-io FileUtils class to make sure that this is handled properly. Initial testing looks good.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.