-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
Safe default filename #689
Conversation
filename takes ext part, if filename returns extension it will not be duplicated anymore
feat: store newName
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job.
So now we only have filename
and mime
, right? Cool.
I'm more for calling it mimetype
instead (plus it's same length as filename so.. haha), but you decide.
@illl48 @davidstrouk, @ololoepepe , @mclark-newvistas please try it out
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good i think, will review it again in the weekend.
Once this is merged we can open a PR for https://github.com/node-formidable/formidable/tree/filter-upload which helps to filter files before they are uploaded |
fixes #648 |
@tunnckoCore Can we merge it ? |
yep, i think so, sorry for not responding after the last review. ii think we are close to v2 after this, what you think? |
I agree |
@tunnckoCore Changed a bit how filename works (read the commit messages to get an overview)
fixes #672, #671, #389, #596, #465, #358