Skip to content

Commit

Permalink
remove the workaround done to replace plus symbol (via #3661)
Browse files Browse the repository at this point in the history
Signed-off-by: VishnuSanal <[email protected]>
  • Loading branch information
VishnuSanal committed Jun 14, 2023
1 parent f23522e commit f11f6a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public String getPath() {
if (isLocal() || isRoot() || isDocumentFile() || isAndroidDataDir()) return path;

try {
return URLDecoder.decode(path.replace("+", "%2b"), "UTF-8");
return URLDecoder.decode(path, "UTF-8");
} catch (UnsupportedEncodingException | IllegalArgumentException e) {
LOG.warn("failed to decode path {}", path, e);
return path;
Expand Down

0 comments on commit f11f6a9

Please sign in to comment.