Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2348

always insert encoding in http response header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-RC5
    • 1.4.3, 1.5-M1
    • wicket
    • None

    Description

      Real bug:
      If IE (6, 7, 8) receives ajax response with different encoding in http header than the originating page has, it throws JS error with message "System error: -1072896658"

      When making page redirect via ajax, the encoding is not set.
      When Tomcat is behind Apache httpd (via AJP) and there's no encoding in response, httpd inserts it's own encoding into response header.

      These 3 things makes ajax unusable in configuration described above.

      Solution:
      Always put encoding in response header. Could be added in WebResponse:230, but not sure if it's right place.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            pavel.cernocky Pavel Cernocky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: