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

[3.29] Cannot upload zip file because mimetype becomes a promise #541

Open
wesley-at-hl opened this issue Jan 8, 2024 · 1 comment
Open

Comments

@wesley-at-hl
Copy link

When I upload a zip file in 3.29, the filestack picker thinks it is not in list of accepted file types, even though .zip is included.

I traced it to getMimetype is sometimes returning a promise
image
which is then compared as if it is a value
image

@mkeemon
Copy link

mkeemon commented Jan 8, 2024

We're also encountering issues with mimetype, but we're seeing that it's always being coerced to text/plain regardless of the file's extension. Downgrading to 3.28.0 was the best temporary solution for us @wesley-at-hl.

Screenshot 2024-01-08 at 4 44 36 PM

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