[jboss-jira] [JBoss JIRA] Commented: (JBAS-4901) Reverse paths are not allowed (containing a . or ..)

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Oct 31 05:56:45 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4901?page=comments#action_12385230 ] 
            
Thomas Diesler commented on JBAS-4901:
--------------------------------------

Tests may be excluded from the compile target by the exclude file

https://svn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt

This allows us to detect regression and have a unified testsuite across all supported containers
You will need to comment the exclude before you run tests-main

> Reverse paths are not allowed (containing a . or ..)
> ----------------------------------------------------
>
>                 Key: JBAS-4901
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4901
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>         Assigned To: Ales Justin
>             Fix For: JBossAS-5.0.0.CR1
>
>
> This change breaks backward compatibility
> IllegalArgumentException: Reverse paths are not allowed (containing a . or ..), use getParent(): WEB-INF/wsdl//imported/my-service/1.0-SNAPSHOT/../../../common/1.0-SNAPSHOT/CoreComponentTypes.xsd
> To be lees strict, this should be valid
> vf.findChild("foo/bar/../file.txt")
> and this not
> vf.findChild("foo/bar/../../../file.txt")

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list