mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-08 23:47:36 +00:00
空值问题处理
This commit is contained in:
@@ -44,7 +44,11 @@ public class HttpUtils {
|
|||||||
|
|
||||||
//https://www.52dianzi.com/category/article/37/565371.html
|
//https://www.52dianzi.com/category/article/37/565371.html
|
||||||
if(deString.contains("%")){
|
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);
|
||||||
}
|
}
|
||||||
log.info(" pathVariable decode: {}",deString);
|
log.info(" pathVariable decode: {}",deString);
|
||||||
|
Reference in New Issue
Block a user