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

handle case when file not selected - continue of #374 #521

Closed
wants to merge 1 commit into from

Conversation

tunnckoCore
Copy link
Member

while form upload file, if not select file, still create an empty temporary file!

from #374

while form upload file, if not select file, still create an empty temporary file!
@tunnckoCore
Copy link
Member Author

tunnckoCore commented Nov 28, 2019

Okay, this seems to fail, tests never end - I canceled them. Not sure if we need to replace the undefined case or it should be that way.

@tunnckoCore
Copy link
Member Author

tunnckoCore commented Jan 29, 2020

Oh yea. I was wondering today which issue/pr was that and what was it about ;d

Linking #545 and #415 to have it more near to my stuff.

Also, it probably is fixed too, because it checks against !part.mime to detect whether it's a file or field.

We should add some option to control it through option

@tunnckoCore tunnckoCore deleted the empty-temp-file-fix branch January 29, 2020 17:48
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.

None yet

2 participants