Skip to content
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

Image names are altered. #12

Closed
ronakmehta1989 opened this issue Feb 16, 2015 · 2 comments
Closed

Image names are altered. #12

ronakmehta1989 opened this issue Feb 16, 2015 · 2 comments
Labels

Comments

@ronakmehta1989
Copy link

It works fine for me but it alter the image name.
When I select image from browser "Attach file" , It alter the image name something like "image%xxxx"
Here xxxx are any random numbers.

Note : I'm selecting image with default name like "sample.png".

I've tried to choose different image but problem is same.

Any solution ?

@ocram ocram added the bug label Feb 16, 2015
@ocram
Copy link
Contributor

ocram commented Feb 16, 2015

Thanks for your feedback!

Unfortunately, there is no solution to this problem, it seems. You can't rely on the file names that you received from the client. This is true in general. They may even be obfuscated for privacy reasons.

So the WebView implementation has full control over the upload itself and thus the file name. At least for Android 4.4.*, we can confirm that the file names are altered by Android and you can't do anything about this. Sorry!

@ocram ocram closed this as completed Feb 16, 2015
@ronakmehta1989
Copy link
Author

@mwaclawek Thank you for the response.

@1170762202 1170762202 mentioned this issue Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants