lprimak commented on code in PR #2857:
URL: https://github.com/apache/shiro/pull/2857#discussion_r3789437788
##########
core/src/main/java/org/apache/shiro/util/AntPathMatcher.java:
##########
@@ -69,7 +69,7 @@ public class AntPathMatcher implements PatternMatcher {
public static final String DEFAULT_PATH_SEPARATOR = "/";
private String pathSeparator = DEFAULT_PATH_SEPARATOR;
- private boolean caseInsensitive;
+ private boolean caseInsensitive = true;
Review Comment:
Yes, it's part of the bug fix, and will be sqlashed
##########
core/src/main/java/org/apache/shiro/util/AntPathMatcher.java:
##########
@@ -225,8 +224,8 @@ protected boolean doMatch(String pattern, String path,
boolean fullMatch) {
strLoop:
for (int i = 0; i <= strLength - patLength; i++) {
for (int j = 0; j < patLength; j++) {
- String subPat = (String) pattDirs[pattIdxStart + j + 1];
- String subStr = (String) pathDirs[pathIdxStart + i + j];
+ String subPat = pattDirs[pattIdxStart + j + 1];
Review Comment:
same as above
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]