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

Certain file types are not allowed #30

Open
rxmarbles opened this issue Sep 3, 2018 · 4 comments
Open

Certain file types are not allowed #30

rxmarbles opened this issue Sep 3, 2018 · 4 comments

Comments

@rxmarbles
Copy link
Collaborator

Per this issue in react-dropzone
It seems the check on file types has been changed in browser support as it makes those that have a filetype that includes a . to a blank string. The example here is a .stl file. This is an example file from a basic input file type tag

File(7138484) {name: "Apollo_11.stl", lastModified: 1440523936000, lastModifiedDate: Tue Aug 25 2015 10:32:16 GMT-0700 (Mountain Standard Time), webkitRelativePath: "", size: 7138484, …}
lastModified
:
1440523936000
lastModifiedDate
:
Tue Aug 25 2015 10:32:16 GMT-0700 (Mountain Standard Time) {}
name
:
"Apollo_11.stl"
size
:
7138484
type
:
"model/x.stl-binary"
webkitRelativePath
:
""
__proto__
:
File
@okonet
Copy link
Collaborator

okonet commented Sep 5, 2018

Is this actionable somehow? Can you come up with a fix for it?

@rxmarbles
Copy link
Collaborator Author

Not entirely sure @okonet. I'm still debugging in this repo to see where this occurs

@squancy
Copy link

squancy commented Jun 26, 2020

@rxmarbles Have you come up with a solution?

@LEEILLJIN
Copy link

LEEILLJIN commented Mar 4, 2022

i'm facing this problem. How can i solve this issue?

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

4 participants