Pre Merge pull request !192 from twelvet/N/A

pull/192/MERGE
twelvet 6 months ago committed by Gitee
commit 436281728d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -46,6 +46,11 @@ public class AuthFilter implements GlobalFilter, Ordered
ServerHttpRequest.Builder mutate = request.mutate();
String url = request.getURI().getPath();
if (url.endsWith("/")) {
url = url.substring(0, url.length() - 1);
}
// 跳过不需要验证的路径
if (StringUtils.matches(url, ignoreWhite.getWhites()))
{

Loading…
Cancel
Save