title: My input file with accepts: accept="image/gif, image/jpg, image/jpeg, image/png", is allowing to select other extensions
body: <p>I have a form to select images for a gallery, and I want to allow user to select only jpg,gif and png image formats.</p>
  
  <p>And now, for testing, I change extension of a image to .bmp like "image1.bmp", and when I click in my input file to select a image, this "image1.bmp" is hidden, but If I select "show all files", this "image1.bmp" appears, and I can select this "image1.bmp" and send this image in my form. And Im inserting this image with this format on database.</p>
  
  <p>This is normal using <code>accept="image/gif, image/jpg, image/jpeg, image/png"</code>??</p>
  
  <p>Because what I wanted is to block all formats that are not gif,jpg or png.</p>
  
  <p>I have this input file:</p>
  
  <pre><code>&lt;input type="file" name="img[]" multiple="multiple" accept="image/gif, image/jpg, image/jpeg, image/png" /&gt;
  </code></pre>