This commit is contained in:
k1zn
2022-12-28 22:07:03 +05:00
parent 8eb725148f
commit 9b29288351
@@ -21,7 +21,7 @@ public class Base64Utils {
public static String encodeValue(String value) {
try {
return URLEncoder.encode(value, StandardCharsets.UTF_8.toString());
return URLEncoder.encode(value, StandardCharsets.UTF_8.name());
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e);
}