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

UnicodeNormalizationRequestWrapper uses URLDecoder for headers but UnicodeNormalizer for parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.2.6
    • 5.2.3
    • core
    • Yes

    Description

      UnicodeNormalizationRequestWrapper uses URLDecoder for headers but UnicodeNormalizer for parameters. The decoding of the headers causes issues, it will e.g. result in following Accept header:

      application/xhtml+xmlapplication/xhtml xml

      This behavior was introduced in MAGNOLIA-3233.

      Attached is a patch for info.magnolia.cms.filters.UnicodeNormalizationRequestWrapperTest showing the malfunction.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD