sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-3374) Overlay sendRedirect to get relative Location header
Date Wed, 05 Feb 2014 08:38:15 GMT

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

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

Can you provide a scenario or automated test to reproduce the issue?

IIUC from an offline discussion this happens when running Sling on specific servlet engines.

There's a number of tests under [1] which verify the Location header in responses, I assume
some of them should show the problem if you run them in a problematic environment.

[1] https://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests

> Overlay sendRedirect to get 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.1.5#6160)

Mime
View raw message