文件上传https

This commit is contained in:
chen-xin-zhi 2025-03-18 09:33:08 +08:00
parent 01e63f68c2
commit 020cce9133

View File

@ -61,7 +61,7 @@ public class RegexUtils {
public static String encodeUrl(String input) { public static String encodeUrl(String input) {
String regex = input.replaceAll("[^a-zA-Z0-9]", "_"); String regex = "[\\s\\+\\?\\#\\&\\=\\/:\\(\\)\\!]";
return input.replaceAll(regex, "_"); return input.replaceAll(regex, "_");
} }