[ https://issues.apache.org/jira/browse/SLING-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14336764#comment-14336764 ]
Nitin Seth commented on SLING-3374: ----------------------------------- One of my customer reported the issue in AEM 6.0 Steps to reproduce the issue: Install a vanilla 5.4 instance. Add a page to the geometrixx site. Go to advanced properties of the new page and add a redirect to the triangle product page Open new page and observe Location Response Header -- note that it has no scheme/server (a desired trait) *Location /content/geometrixx.html* Install a vanilla 6.0 instance Add a page to the geometrixx site Go to the advanced properties of the new page and add a redirect to the triangle product page Open the new page and observe Location Response Header -- note that it has the scheme and server (not desirable) *Location http://localhost:5665/content/geometrixx.html* *Note:* Issue is also reproducible at 6.0 SP2. Would this be address in next AEM release (i,e AEM 6.1)? > 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)