[
https://issues.apache.org/jira/browse/SLING-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341159#comment-14341159
]
Nitin Seth commented on SLING-3374:
-----------------------------------
[~justinedelson] - Yes customer complains that in CQ 5.4 the Location Response
Header does not contain any scheme/server and set as relative url as:
Location Response Header: /content/geometrixx.html
whereas in AEM6.0 the Location Response Header has the scheme and server and
set as absolute url as:
Location Response Header: http://host:port/content/geometrixx.html
As you stated the older version (5.4) was not fully complaint with the servlet
specification, does that means it was the issue in the servlet engine earlier?
and now it is correct as - The CQSE servlet engine has been replaced with
Eclipse Jetty
[~bdelacretaz] - Can you please let me know where the changes is to be done if
customer wants an old behavior in AEM6? You recommended that users implement a
Filter,does that mean customer have to write a code in the RedirectAsIsFilter
class to achieve this?
> 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)