We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 667cf9d commit 84834c7Copy full SHA for 84834c7
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/http/HttpUtils.java
@@ -44,8 +44,9 @@ public static String encodeUtf8(String value) {
44
* @param value 参数
45
* @return 解码后的参数
46
*/
47
+ @SneakyThrows
48
public static String decodeUtf8(String value) {
- return URLDecoder.decode(value, StandardCharsets.UTF_8);
49
+ return URLDecoder.decode(value, StandardCharsets.UTF_8.name());
50
}
51
52
@SuppressWarnings("unchecked")
0 commit comments