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

ServletWebResponse should call #setHeader() to set Ajax-Location for redirect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.10, 6.8.0, 7.0.0-M1
    • 6.9.0, 1.5.11, 7.0.0-M1
    • wicket
    • None

    Description

      To signal a redirect to an Ajax request, ServletWebResponse calls #addHeader("Ajax-Location, url) on the HTTP servlet response.
      This might lead to multiple header values if a filter in the request chain already tampers the headers.
      Since only one value is valid anyway, #setHeader() should be used instead.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: