tomsun28 opened a new pull request #127: fix the potential threat when use  
"uri = uri + '/' " to bypassed shi…
URL: https://github.com/apache/shiro/pull/127
 
 
   hi,  the potential threat found when use shiro filter.
   in spring web, the ```requestURI :``` ```/resource/menus```  and 
```resource/menus/``` both can access the resource,
   but the ```pathPattern``` match ```/resource/menus``` can not match 
```resource/menus/```
   user can use ```requestURI``` + ```"/"``` to simply bypassed chain filter, 
to bypassed shiro protect
   
   this pr fix it

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to