[dna-issues] [JBoss JIRA] Created: (DNA-299) Path.isNormalized() is incorrect if the path begins with parent reference(s)

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Mar 12 15:14:22 EDT 2009


Path.isNormalized() is incorrect if the path begins with parent reference(s)
----------------------------------------------------------------------------

                 Key: DNA-299
                 URL: https://jira.jboss.org/jira/browse/DNA-299
             Project: DNA
          Issue Type: Bug
          Components: API, Graph
    Affects Versions: 0.3
            Reporter: Randall Hauch
            Assignee: Randall Hauch
             Fix For: 0.4


The different implementations of Path consider a path that begins with a one or more parent references as not normalized.  For example, "../a" should be considered normalized, but it is not.  Normalized means that there are no self-reference segments (e.g., "."), and that all parent references that can be removed are removed.  Therefore, "../a" should be normalized, whereas "/../a" is not normalized.

There were no unit tests that covered these conditions.

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

        



More information about the dna-issues mailing list