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

Bertrand Delacretaz commented on SLING-3374:
--------------------------------------------

We probably need to discuss on our dev list what the right behavior is, in the 
meantime I have created an example Filter that uses setHeader/setStatus to 
avoid the using servlet engine's sendRedirect method. This can be used as a 
workaround to reproduce the old behavior.

Source code at 
https://svn.apache.org/repos/asf/sling/whiteboard/bdelacretaz/redirect-as-is

> Overlay sendRedirect to set relative Location header
> ----------------------------------------------------
>
>                 Key: SLING-3374
>                 URL: https://issues.apache.org/jira/browse/SLING-3374
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Laurie byrum
>
> Recently, Location headers returned from redirects started being absolute 
> instead of relative. 
> We should try to decorate this in sling.
> Can we replace the sendRedirect with a set-header set-status combination
> in sling?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to