Skip to content

Commit

Permalink
[phalcon#13488] - Merge branch '4.0.x' into T13488-get-query-filtered…
Browse files Browse the repository at this point in the history
…-params

* 4.0.x:
  [4.0.x] - Added unicode flag for email filter
  [4.0.x] - Added unicode flag for email filter
  • Loading branch information
niden committed Feb 2, 2019
2 parents cbc6b40 + d92ca2b commit acd88dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/filter/sanitize/email.zep
Expand Up @@ -22,6 +22,6 @@ class Email
*/
public function __invoke(var input)
{
return filter_var(input, constant("FILTER_SANITIZE_EMAIL"));
return filter_var(input, FILTER_SANITIZE_EMAIL, FILTER_FLAG_EMAIL_UNICODE);
}
}

0 comments on commit acd88dd

Please sign in to comment.