Inout validation is one of the most effective application security technical controls. It can mitigate numerous vulnerabilities (but not all). Input validation is more than checking form field values. The chapter of transactional analysis talks about this.
Canonicalization is the process by which various equivalent forms of a name can be resolved to a single standard name, or the "canonical" name.