jquery-validation icon indicating copy to clipboard operation
jquery-validation copied to clipboard

Allow AVIF and WebP files

Open vanillajonathan opened this issue 1 year ago • 2 comments

Allow files with the extensions .avif and .webp.

vanillajonathan avatar Oct 14 '24 14:10 vanillajonathan

Can you not just use the accept extension?

bytestream avatar Oct 14 '24 14:10 bytestream

I suppose I could but this seems like a reasonable PR. AVIF and WebP are now common on the web so where PNG, JPEG and GIF are accepted AVIF and WebP are expected to be accepted too.

vanillajonathan avatar Oct 14 '24 15:10 vanillajonathan

This issue/proposal has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automatically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for contributing :)

github-actions[bot] avatar Dec 14 '24 05:12 github-actions[bot]

Someone can correct me if I'm wrong, but after reviewing the Git history I don't think there is precedent for updating existing additional rules. IMO these changes constitute a breaking change and would therefore need to wait until v2. I think you're better off just doing what I suggested, or define your own rule...

bytestream avatar Dec 14 '24 15:12 bytestream