cwt-wa / cwt

Crespo’s Worms Tournament (CWT) is the most prestigious tournament of Team17’s strategy game title Worms Armageddon held annually since 2002.
https://cwtsite.com/
5 stars 2 forks source link

More client-side file type validation #240

Closed Zemke closed 4 years ago

Zemke commented 4 years ago

There’s the HTML accept attribute filter the user’s file selection dialog for only accepted files. But this is only filtering. There’s validation in the backend already.

To further validate in the client one could implement this: https://stackoverflow.com/a/4329103/2015430