Skip to content

Commit 84834c7

Browse files
committed
【同步】BOOT 和 CLOUD 的功能
1 parent 667cf9d commit 84834c7

File tree

1 file changed

+2
-1
lines changed
  • yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/http

1 file changed

+2
-1
lines changed

yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/http/HttpUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ public static String encodeUtf8(String value) {
4444
* @param value 参数
4545
* @return 解码后的参数
4646
*/
47+
@SneakyThrows
4748
public static String decodeUtf8(String value) {
48-
return URLDecoder.decode(value, StandardCharsets.UTF_8);
49+
return URLDecoder.decode(value, StandardCharsets.UTF_8.name());
4950
}
5051

5152
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)