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

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

We might be discussing two different things here:

[~lbyrum] mentions relative/absolute Location values, which I understand like 
/foo/bar as opposed to ../bar

[~niseth] mentions Location values which have or don't have a scheme/server

As far as I can see, the current SlingHttpServletResponseImpl delegates 
sendRedirect to the javax parent class, so the behavior is probably dependent 
on the servlet engine.

> 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