MyFaces Core
  1. MyFaces Core
  2. MYFACES-3402

Partial Response Writer always returns an <?xml version='1.0' encoding='utf-8'?> ignoring the response encoding

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.10, 2.1.4
    • Fix Version/s: None
    • Component/s: JSR-314
    • Labels:
      None

      Description

      While I was testing different ajax encodings I discovered that the Partial Response writer always returns the header listed on the headline of this issue. It ignores simply the original encoding.
      A blackbox test against Mojarra showed in that exact case the proper encoding not UTF-8 static.
      I guess the fix simply should be to make this part of the partial response writer more dynamic and to fetch
      the encoding in from the request header.

        Activity

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Werner Punz
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development