文件上传https
This commit is contained in:
parent
01e63f68c2
commit
020cce9133
|
@ -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, "_");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user