Open jkalyanapu opened 3 years ago
Thanks for reporting.
It is indeed a bug and I'm quite surprised that it wasn't discovered till now!! I'll write a fix asap.
I'm trying to understand how to solve the issue in correct way since what I see "file" is provided but its name empty and it size 0 and its content-type is `application/octet-stream'
So if you add these conditions it will work as "workaround" till I fix the issue properly.
I currently have a form in my application, but if I don't upload a file in the form the form will fail to validate. Here are the relevant parts of my content.h
More specifically, I never called image.non_empty() and I added an empty string as a valid magic number but the form still fails to validate.