You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/06/07 11:30:20 UTC

[jira] [Created] (WICKET-5219) ServletWebResponse should call #setHeader() to set Ajax-Location for redirect

Sven Meier created WICKET-5219:
----------------------------------

             Summary: 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: 6.8.0, 1.5.10, 7.0.0
            Reporter: Sven Meier
            Assignee: Sven Meier


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