Avoid Hitting the Rocks of Hazardous Null Input Objects
Tuesday, April 20th, 2010Validating user input should be a fundamental requirement, at both the front end and the back end. Failure to do so can result in something more than an embarrassment, and relying on any development framework to do the cleanup is wishful thinking. Here are some code snippets that will eliminate inadvertently erroneous or deliberately malicious user input, as well as sloppy coding deep within the framework de jour.
