Skip to content

Commit

Permalink
spelling: both
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Dec 22, 2020
1 parent 81ae173 commit 8fd6e14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public FilterChain getChain(ServletRequest request, ServletResponse response, Fi

String requestURI = getPathWithinApplication(request);

// in spring web, the requestURI "/resource/menus" ---- "resource/menus/" bose can access the resource
// in spring web, the requestURI "/resource/menus" ---- "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
if(requestURI != null && !DEFAULT_PATH_SEPARATOR.equals(requestURI)
Expand Down

0 comments on commit 8fd6e14

Please sign in to comment.