mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix isExclusion method.
This commit is contained in:
@@ -143,6 +143,9 @@ public class WebStatFilter implements Filter {
|
||||
|
||||
if (contextPath != null && requestURI.startsWith(contextPath)) {
|
||||
requestURI = requestURI.substring(contextPath.length());
|
||||
if(!requestURI.startsWith("/")) {
|
||||
requestURI = "/" + requestURI;
|
||||
}
|
||||
}
|
||||
|
||||
for (String pattern : excludesPattern) {
|
||||
|
||||
Reference in New Issue
Block a user