-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF file selection not working for some URIs #778
Comments
Is this just in "split PDF" or somewhere else too? |
All fragments where we have to select PDF file(s). Like Merge PDF, Invert PDF, Add Password... etc. |
Can you give me a sample URL to work with? |
@ioshomebrew It's already there in issue description. |
Ok, looking thru source code now to diag issue |
Found the issue, it appears that the RealPathUtil.getRealPath is adding extra data to the selected file |
The issue seems to be with some file explorer apps, with EZ File Explorer it didn't work because it added extra characters to the Uri, but with EX File Manager it worked fine |
@vyankatesh24 Are you facing the issue with just EZ file explorer or other explorers too? |
I've only tested 2 explorers so far |
Just found a potential fix |
I added in a feature to replace extra characters with / |
It worked with the 2 file explorers I used |
The Fix is now on my forked repo |
@ioshomebrew Can you create a PR? |
Just did it |
WIth some file explorers it changed the last / with : which caused erors. I added in a regex to replace those chars with / to fix the issue
Split PDF
and other fragments where PDF selection is required.Unknown URI: content://downloads/public_downloads/3798
The text was updated successfully, but these errors were encountered: