修复特殊符号 转义的问题

This commit is contained in:
gaoxiongzaq
2023-10-25 11:35:08 +08:00
parent fdb5325e02
commit 9f9790d4fd
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class DownloadUtils {
String urlStr = null;
try {
SslUtils.ignoreSsl();
urlStr = fileAttribute.getUrl().replaceAll("\\+", "%2B").replaceAll(" ", "%20");
urlStr = fileAttribute.getUrl().replaceAll("\\+", "%20").replaceAll(" ", "%20");
} catch (Exception e) {
logger.error("忽略SSL证书异常:", e);
}