空值问题处理

pull/5386/head^2
zhangdaiscott 1 year ago
parent 5a9344b190
commit 1a326cb70f

@ -44,7 +44,11 @@ public class HttpUtils {
//https://www.52dianzi.com/category/article/37/565371.html
if(deString.contains("%")){
deString = URLDecoder.decode(deString, "UTF-8");
try {
deString = URLDecoder.decode(deString, "UTF-8");
} catch (Exception e) {
//e.printStackTrace();
}
log.info("存在%情况下,执行两次解码 — pathVariable decode: {}",deString);
}
log.info(" pathVariable decode: {}",deString);

Loading…
Cancel
Save