SimpleUrlPattern.URL_CHAR_PATTERN block newlines chars
------------------------------------------------------

                 Key: MAGNOLIA-3198
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3198
             Project: Magnolia
          Issue Type: Bug
    Affects Versions: 4.3.1
            Reporter: Fabrizio Giustina
            Assignee: Fabrizio Giustina
            Priority: Minor
             Fix For: 4.3.x


After the change in MAGNOLIA-3150 SimpleUrlPattern.URL_CHAR_PATTERN should 
allow any character, but it actually misses the newline char.

This is of course not commonly used in URLs, but the problem is that a URL with 
the newline char (%0A) now brings the magnolia login screen (also on a public 
website), which is undesired


For example a call to:
http://mymagnoliasite.com/test%0A.html
with utf8 enabled should just end up in a 404, and not in the Magnolia login 
screen.

This can be easily fixed by changing the * regexp (any char except for the 
newline).




-- 
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: <[email protected]>
----------------------------------------------------------------

Reply via email to