Restored validation code to prior to botched 2.0 update.
Restored validation code to prior to botched 2.0 update.
gpedro/PHP-ESAPI,najamelan/PHP-ESAPI,jollysean/PHP-ESAPI,najamelan/PHP-ESAPI,gpedro/PHP-ESAPI,OWASP/PHP-ESAPI,OWASP/PHP-ESAPI,jollysean/PHP-ESAPI,gpedro/PHP-ESAPI,najamelan/PHP-ESAPI,OWASP/PHP-ESAPI,jollysean/PHP-ESAPI