Closed
Description
I have a form that have an optional file input. I let the form plugin to handle the form enctype for me. The form would be re-used to submit multiple records. I found that in IE the plugin would have side-effect on form's enctype
. e.g. Submission as follow:
- submit with no file --> content-Type submitted as
application/x-www-form-urlencoded
- submit with file --> content-Type submitted as
multipart/form-data
- submit with no file again --> content-Type still
multipart/form-data
Looking into the source code shows that the plugin have set form's enctype at 2nd submit, so the 3rd submit is also detected as multipart
.
Metadata
Metadata
Assignees
Labels
No labels