Skip to content

Commit

Permalink
Fix build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sgayangi committed Dec 18, 2024
1 parent 95aa9d1 commit f1b80cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private static String normalizePath(String path) {

private static String decode(String path) {
try {
return URLDecoder.decode(path, StandardCharsets.UTF_8);
return URLDecoder.decode(path, "UTF-8");
}
catch (Exception ex) {
return "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ private static String normalizePath(String path) {

private static String decode(String path) {
try {
return URLDecoder.decode(path, StandardCharsets.UTF_8);
return URLDecoder.decode(path, "UTF-8");
}
catch (Exception ex) {
return "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private static String normalizePath(String path) {

private static String decode(String path) {
try {
return URLDecoder.decode(path, StandardCharsets.UTF_8);
return URLDecoder.decode(path, "UTF-8");
}
catch (Exception ex) {
return "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ private static String normalizePath(String path) {

private static String decode(String path) {
try {
return URLDecoder.decode(path, StandardCharsets.UTF_8);
return URLDecoder.decode(path, "UTF-8");
}
catch (Exception ex) {
return "";
Expand Down

0 comments on commit f1b80cc

Please sign in to comment.