mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-29 13:22:59 -08:00
Handle schemeless URLs that slip through.
This commit is contained in:
1 parent
c4856a749b
commit
bfa825f359
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class UriUtil {
|
||||
if (uri == null) return null;
|
||||
|
||||
String scheme = uri.getScheme();
|
||||
if (scheme.equals("file")) {
|
||||
if (EmptyUtils.isNullOrEmpty(scheme) || scheme.equals("file")) {
|
||||
return new FileInputStream(uri.getPath());
|
||||
}
|
||||
else if (scheme.equals("content")) {
|
||||
|
||||
Reference in new issue
Block a user