Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-54

REST request with valid accept header "application/xhtml+xml" returns IllegalArgumentException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.4
    • None
    • None
    • None

    Description

      After updating Magnolia to v5.2.2, calls to the rest interface including accept header with "+" - e.g. "application/xhtml+xml" - in between failed.

      Problem seems to be in UnicodeNormalizationRequestWrapper which url-decodes the request header and replaces characters.
      Disabling the Unicode Normalization in the Magnolia Filter Configuration undermines the behavoir and makes our rest-interface working.

      See attached stacktrace.txt for more information.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                j.selig Johannes Selig
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD