2 ms·
> Limiting the upload to only JPEG and PNG is silly IMO. Or... Use proper HTML to limit what file types you site accepts so users can't upload files you don't
by ogre_codes 6y ago
> Limiting the upload to only JPEG and PNG is silly IMO.
Or... Use proper HTML to limit what file types you site accepts so users can't upload files you don't support. If a site says it only supports JPG/ PNG on the input element, Safari automatically converts it to JPG.