[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-211) Support .. notion in vfs paths

Adrian Brock (JIRA) jira-events at lists.jboss.org
Thu Oct 25 06:15:01 EDT 2007


Support .. notion in vfs paths
------------------------------

                 Key: JBMICROCONT-211
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-211
             Project: JBoss MicroContainer
          Issue Type: Feature Request
          Components: VFS
    Affects Versions: JBossMC-2.0.0.Beta4
            Reporter: Adrian Brock


If a VFS path contains a .. it should be possible to invoke getParent() to navigate the path
in AbstractVirtualFileHandler's structuredFindChild() and simpleFindChild()
currently the PathTokenizer will report an error if the path contains a . or ..

It should still through an error if it "goes off the top" of the VFS context. i.e. you try to a .. on a virtual file handler with no parent.

-- 
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