You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2011/02/02 09:38:31 UTC
[jira] Commented: (SLING-1965) RedirectServlet does not append
current querystring to redirect target if desired target is not an absolute
URL
[ https://issues.apache.org/jira/browse/SLING-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989559#comment-12989559 ]
Felix Meschberger commented on SLING-1965:
------------------------------------------
Rev. 1066367: Enhance integration test to also include a test for absolute URL redirects and fix use cases involving request selectors, extension, and suffix besides query string.
> RedirectServlet does not append current querystring to redirect target if desired target is not an absolute URL
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SLING-1965
> URL: https://issues.apache.org/jira/browse/SLING-1965
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Get 2.1.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Get 2.1.2
>
>
> The RedirectServlet appends the current query string to the redirect target in the toRedirectPath method which is only called if the target path is an absolute URL.
> The correct location to append the request query string is in the doGet method before setting the Location: header.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira