Handle schemeless URLs that slip through.

This commit is contained in:
Brian Pellin committed 2016-03-08 21:27:54 -06:00
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")) {