When there's a file input control to upload pictures that accepts JPEG files:
<input type="file" accept="image/png, image/jpeg">
… my copy of Firefox will only allow JPEG files with ".jfif" extension:
It only happens in my PC (other coworkers get "*.jpg; *.jpeg"), it only happens in Firefox (Chrome and Edge implement their own extension list) and it didn't happen a while ago.
What does this behaviour depend on? Is this a common issue that I should address in my upload markup?
Even in 62.0.3 the bug is still reproducable for me - But the bug is known and already listed at bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1367490
This workaround works for me:
<input type="file" accept=".jfif, .jpeg, .jpg">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With