[jboss-jira] [JBoss JIRA] Commented: (JBMICROCONT-211) Support .. notion in vfs paths
Ales Justin (JIRA)
jira-events at lists.jboss.org
Fri Jan 25 19:40:21 EST 2008
[ http://jira.jboss.com/jira/browse/JBMICROCONT-211?page=comments#action_12396964 ]
Ales Justin commented on JBMICROCONT-211:
-----------------------------------------
Added current path handling - '.'.
This can be applied at the start or in the middle.
If it's applied at the end, if last non '.' token points to non-leaf, null will be returned.
> 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
> Fix For: JBossMC-2.0.0.Beta6
>
>
> 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