You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/03/04 21:33:12 UTC

[jira] [Commented] (XBEAN-241) finder doesn't handle #

    [ https://issues.apache.org/jira/browse/XBEAN-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592606#comment-13592606 ] 

Mark Struberg commented on XBEAN-241:
-------------------------------------

This needs proper testing under Win*. The %20 comes from directories with spaces in them. Thus we first need a proper unit test with such a path.
                
> finder doesn't handle #
> -----------------------
>
>                 Key: XBEAN-241
>                 URL: https://issues.apache.org/jira/browse/XBEAN-241
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>            Reporter: Romain Manni-Bucau
>            Assignee: Mark Struberg
>            Priority: Blocker
>
> current trunk (i didn't check previous versions) doesn't handle '#' for Jars.
> In org.apache.xbean.finder.archive.JarArchive#JarArchive replacing line 53 (jar = new JarFile(u.getFile().replace("%20", " ")); // no more an url) by jar = new JarFile(FileArchive.decode(u.getFile()));
> is enough to fix it (i can do a patch but since that's trivial to do i thought it was not mandatory, if you need it please ask)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira