Skip to content

Conversation

halaei
Copy link

@halaei halaei commented Jun 13, 2021

File uris with space and other special characters are not correctly normalized. The fix is to removing 3 lines of code on normalizePath() because the correct normalization code already exists in PathResolver.getRealPathFromURI().

Example input: file:///storage/emulated/0/Foo%20Bar
Correct output: /storage/emulated/0/Foo Bar.
Current (wrong) output: /storage/emulated/0/Foo%20Bar.

@retyui
Copy link

retyui commented Nov 11, 2021

Hi
This module is unmentionable ⚠️! please use fork: https://github.com/RonRadtke/react-native-blob-util

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants