Wicket
  1. Wicket
  2. WICKET-5219

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Sven Meier created issue -
        Sven Meier made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 6.9.0 [ 12324357 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Fix Version/s 1.5.11 [ 12324069 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development