[ 
https://issues.apache.org/jira/browse/WICKET-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven Meier resolved WICKET-5219.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.11
                   7.0.0
                   6.9.0

setHeader() is used now instead
                
> ServletWebResponse should call #setHeader() to set Ajax-Location for redirect
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-5219
>                 URL: https://issues.apache.org/jira/browse/WICKET-5219
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.10, 6.8.0, 7.0.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>             Fix For: 6.9.0, 7.0.0, 1.5.11
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to