enapps-enorman opened a new pull request, #41:
URL: https://github.com/apache/sling-org-apache-sling-api/pull/41

   Use Case:
   
   Use the SlingUriBuilder.createFrom(request) call from a servlet in order to 
create a SlingUri from the current request in order to change the selectors (or 
extension) and then redirect to that new uri value.
   
   Expected:
   
   When calling SlingUriBuilder.createFrom(request) for a mapped request path, 
the built SlingUri object should return the original mapped path from the 
getResourcePath() call instead of the resource path that was resolved from the 
mapped path.
   
   This should help to avoid accidentally switching from /folder/page1 to 
/content/folder/page1 in the SlingUri output.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to