[dna-issues] [JBoss JIRA] Resolved: (DNA-334) Should not allow creating a Name from a string with multiple non-escaped colons

Randall Hauch (JIRA) jira-events at lists.jboss.org
Mon Mar 23 15:32:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch resolved DNA-334.
-------------------------------

    Resolution: Done


Changed regular expression used in the NameValueFactory to create values, allowing only a single non-escaped colon in the name.  Added a test case to verify that this change indeed was required and has the correct behavior.

> Should not allow creating a Name from a string with multiple non-escaped colons
> -------------------------------------------------------------------------------
>
>                 Key: DNA-334
>                 URL: https://jira.jboss.org/jira/browse/DNA-334
>             Project: DNA
>          Issue Type: Bug
>          Components: Graph
>    Affects Versions: 0.3
>            Reporter: Randall Hauch
>            Assignee: Randall Hauch
>             Fix For: 0.4
>
>
> According to the JCR TCK, it should not be possible to convert the string "a:b:c" into a name, since the second colon is not escaped.

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