I use Respect/Validation and when I use email()...the problem is:
if I validate a string: validator::email()->validate('hello@helloworld.com');
it work!
if I validate a variable: validator::email()->validate($_POST['email']);
it doesn't work!
I try to check the content into $_POST['email']
and it's: hello@helloworld.com
the exact output of var_dump($_POST['email']);
is: string(21) " hello@helloworld.com"