Skip to content

Commit 06883c6

Browse files
committed
Fix normalizing file:// paths with special characters
1 parent 06f8c70 commit 06883c6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilFS.java

-3
Original file line numberDiff line numberDiff line change
@@ -1185,9 +1185,6 @@ static String normalizePath(String path) {
11851185
return null;
11861186
if (!path.matches("\\w+\\:.*"))
11871187
return path;
1188-
if (path.startsWith("file://")) {
1189-
return path.replace("file://", "");
1190-
}
11911188

11921189
Uri uri = Uri.parse(path);
11931190
if (path.startsWith(ReactNativeBlobUtilConst.FILE_PREFIX_BUNDLE_ASSET)) {

0 commit comments

Comments
 (0)