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

UnicodeNormalizationRequestWrapper uses URLDecoder for headers but UnicodeNormalizer for parameters

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD