axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4282) JarFileClassLoader allows resources to be loaded from locations outside of the directory specified in its classpath
Date Tue, 24 Mar 2009 14:27:51 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688697#action_12688697
] 

Jarek Gawor commented on AXIS2-4282:
------------------------------------

Stoil,

No, it won't. It's the wsdl parser responsibility to resolve "../test.xsd" against "META-INF/dir1/dir2/test.wsdl".
That results in META-INF/dir1/test.xsd which then should be passed to the classloader.


> JarFileClassLoader allows resources to be loaded from locations outside of the directory
specified in its classpath
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4282
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4282
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5, nightly
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 1.5, nightly
>
>
> If JarFileClassLoader contains one classpath entry that is a directory, it will allow
resources to be loaded from ANY directory on the file system.
> The JarFileClassLoader should of course only allow resources to be loaded from within
the directory specified.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message