-
-
Notifications
You must be signed in to change notification settings - Fork 683
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
Don't allow uploading empty files (allowEmptyFiles option) #475
Comments
Is an empty file really a file though? |
Good question. So actually |
@quantumsheep, anything that has file structure in file-system table is a file, no matter the size :) |
This is a serious issue that needs prompt attention because the empty files just mess up the entire folder, I have to run fs.unlink() every time I submit a form that has file with an empty value. |
Can i take this issue? |
Yes of course. |
Has this feature request been added yet? |
@nakedtoast unfortunately, seems like we do not have any PRs regarding that. |
Has there been any movement on this? |
@shaneosullivan nope, nothing on my end, sorry. @leonardovillela anything? |
Hey, sorry for the late response. I only have time to see the notification now. I will take a look at it this weekend. |
@tunnckoCore or @GrosSacASac I want to contribute more to this project, there is another issue you recommend to me to work on? |
Source of the #428 and suggested to have some option like
allowEmptyFiles: false
.The text was updated successfully, but these errors were encountered: