[
https://issues.apache.org/jira/browse/SLING-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger reopened SLING-1965:
--------------------------------------
Reopen to reconsider solution: It looks like not only the query string but also
any suffixes should be added for absolute URLs.
> 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