@@ -52,6 +52,9 @@ public class XssFilter implements Filter { | |||
if (method == null || HttpMethod.GET.matches(method) || HttpMethod.DELETE.matches(method)) { | |||
return true; | |||
} | |||
if ("/system/workInfo".equals(url)&&(HttpMethod.PUT.matches(method) || HttpMethod.POST.matches(method))) { | |||
return true; | |||
} | |||
return StringUtils.matches(url, excludes); | |||
} | |||