HBiSoft / PickiT

An Android library that returns real paths from Uri's
MIT License
292 stars 54 forks source link

Fix some uri paths being parsed incorrectly #38

Closed superbattery closed 2 years ago

superbattery commented 3 years ago

When the uri is of "RawDownloadsDocument" and it has subfolder whose name contains non-Ascii characters, the subfolder name will not be parsed correctly. For example, "/storage/emulated/0/Download/❤.mp4" and "/storage/emulated/0/Download/subfolder/example.mp4" will be parsed correctly, but "/storage/emulated/0/Download/subfolder❤/example.mp4" will be parsed as "/storage/emulated/0/Download/subfolder%E2%9D%A4/example.mp4".