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

Felix Meschberger commented on SLING-1977:
------------------------------------------

I am not sure, whether we can do something here. Because the client (the 
browser in this case) sends the plain URL without the fragment part to the 
server. The server then redirects to the configured target URL and is done.

In other words:

  * User selects URL http://sample.com/context#someinfo
  * Browser sends http://sample.com/context to the server
  * Server resolves the /context to a redirect resource and sends back a 302 
response with the new location
  * Browser should then (probably) interpret the result as 
http://sample.com/new/location#someinfo

If the client looses the fragment part in this redirect transition, the server 
cannot help because it is not involved...

Sorry, to have to close this issue as won't fix.

> vanity paths with redirects causes IE to lose anchor
> ----------------------------------------------------
>
>                 Key: SLING-1977
>                 URL: https://issues.apache.org/jira/browse/SLING-1977
>             Project: Sling
>          Issue Type: Bug
>          Components: General
>            Reporter: Roland Schaer
>
> Having an URL with an anchor (i.e. http://sample.com/context#someinfo) 
> pointing to vanity path will lose the anchor in IE after redirect. 
> Works if sling:redirect is false.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to