Situation
I have the following form :
<form action="/url/to/action" method="POST" enctype="multipart/form-data">
<ul>
<li><label>File1 <input type="file" name="file1" /></label></li>
<li><label>File2 <input type="file" name="file2" /></label></li>
<li><input type="submit" value="Import"/></li>
</ul>
</form>
Using Firefox :
- when I upload a
*.gz
file, it is sent with mime-type :application/x-gzip
- when I upload a
*.xml
file, it is sent with mime-type :text/xml
This is ok. However :
- when I upload a
*.zip
file, it is sent with mime-type :text/html
instead ofapplication/zip
(I checked the content of the POST request in the Firebug console.)
I'm pretty sure it worked not that long ago.
Question
Is this bug related to Firefox ? Has anybody else experienced it ?
I'm running FF 29.0 / Ubuntu 14.04.