SimpleUrlPattern do not accept all the chars accepted by 
Path.getValidatedLabel(String label) with UTF-8 enabled
----------------------------------------------------------------------------------------------------------------

                 Key: MAGNOLIA-3150
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3150
             Project: Magnolia
          Issue Type: Bug
    Affects Versions: 4.3 RC1, 4.3 Beta 1, 4.3 M2, 4.3 M1
            Reporter: Luca Boati
            Assignee: Boris Kraft


If UTF-8 has been enabled, there are still a set of chars not accepted by 
SimpleUrlPattern (ex. ' char used everywhere by MS Word) .

SimpleUrlPattern use regEx: [\\p{L}\\p{Mn}\\p{S}\\w!\"#$%&'*+,-./:; 
<=>?...@`|~\\^\\(\\)\\{\\}\\[\\]]

Adding UTF-8 support this regEx shuold be inverted, so it should accept all 
chars except a specified set.
the new regEx could be something like  ^((?![<>]).)*$

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

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to