You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "oliver z (JIRA)" <ji...@apache.org> on 2013/04/09 09:32:15 UTC

[jira] [Commented] (WICKET-5131) Problems with cookies disabled when using 301/302 and also 303 (even with cookies)

    [ https://issues.apache.org/jira/browse/WICKET-5131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626334#comment-13626334 ] 

oliver  z commented on WICKET-5131:
-----------------------------------

Just tested it. SC_SEE_OTHER works like a charm (with and without cookies)
SC_MOVED_PERMANENTLY also works like a charm with and without cookies.
SC_MOVED_TEMPORARLY does not work when cookies are disabled.

Thanks! Is there some release planning when 6.7.0 comes out? Jira said 15.3.
                
> Problems with cookies disabled when using 301/302 and also 303 (even with cookies)
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-5131
>                 URL: https://issues.apache.org/jira/browse/WICKET-5131
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 6.6.0
>            Reporter: oliver  z
>            Assignee: Martin Grigorov
>             Fix For: 6.7.0, 1.5.11
>
>
> As mentioned in the mailing list by Martin, i open this as a bug...
> Its not possible to use 303 as redirect (SC_SEE_OTHER) because thats not supported, only 302 and 301 are supported but this is defined in RFC HTTP 1.1 from 1997. 
> 301 will add the Location header - which works as expected when disabling cookies. But a 302 (which is what i prefer) will redirect to the same page because the Location header is missing. When i enable cookies, its working.
> Example can be found here: https://github.com/olze/WicketRedirect

--
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