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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD