Avoid underscore/tolower

Related Vulnerabilities: CVE-2012-2329