Browse Source

完善解码过程中可能产生的错误

youseries 7 years ago
parent
commit
5469e4e0d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      urule-core/src/main/java/com/bstek/urule/Utils.java

+ 1 - 1
urule-core/src/main/java/com/bstek/urule/Utils.java

@@ -60,7 +60,7 @@ public class Utils implements ApplicationContextAware{
 			str=URLDecoder.decode(str,"utf-8");
 			str=URLDecoder.decode(str,"utf-8");
 			return str;
-		} catch (UnsupportedEncodingException e) {
+		} catch (Exception e) {
 			return str;
 		}
 	}