You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by GitBox <gi...@apache.org> on 2020/04/07 19:57:22 UTC

[GitHub] [shiro] bdemers opened a new pull request #211: The context path is no longer used when determining the path application path

bdemers opened a new pull request #211: The context path is no longer used when determining the path application path
URL: https://github.com/apache/shiro/pull/211
 
 
   Servlet-Path + Path-Info is used instead
   
   NOTE: some servlet containers will decode the context-path (Tomcat) and others will not (Jetty).  Per the Servlet spect the servlet-path and path-info are always decoded.
   Shiro only makes decisions based on the application path, I.e. the request URI with the context-path removed, so we can just avoid dealing with it all together.
   
   `WebUtils.getRequestURI()` has been deprecated to reflect this, and the previous behavior restored (as there was an issue with double decoding the URL in SHIRO-753)
   
   Fixes: SHIRO-753

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [shiro] fpapon merged pull request #211: [SHIRO-753] The context path is no longer used when determining the path application path

Posted by GitBox <gi...@apache.org>.
fpapon merged pull request #211: [SHIRO-753] The context path is no longer used when determining the path application path
URL: https://github.com/apache/shiro/pull/211
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services