Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3198

SimpleUrlPattern.URL_CHAR_PATTERN block newlines chars

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.3.2
    • 4.3.1
    • None
    • None

    Description

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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgiust Fabrizio Giustina
                fgiust Fabrizio Giustina
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD