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

makeDropPane fails for base64 encoded drops #52

Open
IanVS opened this issue Dec 9, 2016 · 3 comments
Open

makeDropPane fails for base64 encoded drops #52

IanVS opened this issue Dec 9, 2016 · 3 comments

Comments

@IanVS
Copy link

IanVS commented Dec 9, 2016

When attempting to drag and drop an image from a google image search, I get a 400 BAD REQUEST from https://www.filepicker.io/api/store/S3?key=xxx&plugin=js_lib&_cacheBust=xxx&plugin=js_lib with a response of:

Invalid URL file data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ... - invalid schema
@sjmrt
Copy link

sjmrt commented Dec 9, 2016

Hi Ian, do you have a place we could replicate this and a specific file that this might be occurring with?

@IanVS
Copy link
Author

IanVS commented Dec 9, 2016

Yep, you can use the example on https://www.filestack.com/docs/html-widget/drag-and-drop-pane

Then, search google images for "cat": https://www.google.com/search?tbm=isch&q=cat&tbs=imgo:1 and drag the first image into the example drag-and-drop-pane.

You should see:
image

Thanks for the quick response!

@IanVS
Copy link
Author

IanVS commented Dec 14, 2016

Hi @sjmrt, were you able to confirm that this is unintended behavior?

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

No branches or pull requests

2 participants