改进UrlQuery对无参URL增加判断识别(issue#IBRVE4@Gitee)

This commit is contained in:
Looly
2025-03-11 09:25:56 +08:00
parent c10c144f64
commit 88cf61eb7f
3 changed files with 31 additions and 1 deletions

View File

@@ -222,6 +222,9 @@ public class UrlQuery {
if (StrUtil.isBlank(queryStr)) {
return this;
}
} else if(StrUtil.startWith(queryStr, "http://") || StrUtil.startWith(queryStr, "https://")){
// issue#IBRVE4 用户传入只有URL没有param部分返回空
return this;
}
}