别信AI生成的代码

This commit is contained in:
chenxudong 2025-07-02 17:47:56 +08:00
parent e4461223b5
commit 47bd1e3d7c
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public final class EleCommonUtil {
if (StrUtil.isBlank(pwd)) {
return false;
}
return pwd.matches(PWD_PATTERN_STR);
return PWD_PATTERN.matcher(pwd).matches();
}
public static boolean isFileNameValid(String fileFullName) {