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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.10, 6.8.0, 7.0.0-M1
    • Fix Version/s: 6.9.0, 1.5.11, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: