[jboss-jira] [JBoss JIRA] Updated: (JBMICROCONT-211) Support .. notion in vfs paths
Ales Justin (JIRA)
jira-events at lists.jboss.org
Fri Oct 26 09:02:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMICROCONT-211?page=all ]
Ales Justin updated JBMICROCONT-211:
------------------------------------
Description:
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 throw 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.
was:
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.
> 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
> Assigned To: Ales Justin
>
> 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 throw 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