We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 668204f + de9a5dc commit cf3bd9aCopy full SHA for cf3bd9a
1 file changed
src/java/JavaFileStorage/app/src/main/java/keepass2android/javafilestorage/WebDavStorage.java
@@ -740,11 +740,12 @@ public String getDisplayName(String path) {
740
ConnectionInfo ci = splitStringToConnectionInfo(path);
741
try
742
{
743
- return java.net.URLDecoder.decode(ci.URL, StandardCharsets.UTF_8);
+ // don't use StandardCharsets.UTF_8, this is not compatible with older Android versions.
744
+ return java.net.URLDecoder.decode(ci.URL, "UTF-8");
745
}
746
catch (Exception e)
747
- return ci.URL;
748
+ return ci.URL;
749
750
751
0 commit comments