2
votes
3answers
399 views

Validating allowed characters or validating disallowed characters

I've always validated my user input based on a list of valid/allowed characters, rather than a list of invalid/disallowed characters (or simply no validation). It's just a habit I picked up, probably ...