You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/08/14 19:05:16 UTC

[jira] Commented: (WICKET-2728) Location headers (redirects) should be absolute, not relative URLs

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

Martin Grigorov commented on WICKET-2728:
-----------------------------------------

Just for the record: we set "Location" header in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond(IRequestCycle).
If the user application really wants absolute URL then it will need to override this class/method

> Location headers (redirects) should be absolute, not relative URLs
> ------------------------------------------------------------------
>
>                 Key: WICKET-2728
>                 URL: https://issues.apache.org/jira/browse/WICKET-2728
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Sebb
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-M2
>
>
> See WICKET-2600. I think the fix is wrong.
> Location URLs are supposed to be absolute:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.