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

fix problem in firefox with empty file upload #15

Merged
merged 1 commit into from
Jan 13, 2017

Conversation

r3wt
Copy link
Contributor

@r3wt r3wt commented Jan 13, 2017

closes #14

code is simple, it just checks that the buffer isn't empty, and returns void if so. otherwise, it returns the file object as expected.

@r3wt
Copy link
Contributor Author

r3wt commented Jan 13, 2017

Gotta say, i was shocked to see just how little code this package required. amazing.

@richardgirges
Copy link
Owner

NICE! Thanks for helping out man!

@richardgirges richardgirges merged commit ec8087e into richardgirges:master Jan 13, 2017
@r3wt
Copy link
Contributor Author

r3wt commented Jan 17, 2017

@richardgirges No problem man, i love it. such a great plugin for express.

@RomanBurunkov RomanBurunkov mentioned this pull request Jun 26, 2020
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

Successfully merging this pull request may close these issues.

empty file input results in file object with empty buffer (Firefox)
2 participants