diff options
Diffstat (limited to 'web/lib/aur.inc.php')
-rw-r--r-- | web/lib/aur.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index 4c2cc559..73f8fd36 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -78,7 +78,7 @@ function check_sid() { # verify that an email address looks like it is legitimate # function valid_email($addy) { - return strpos($addy, '@'); + return (filter_var($addy, FILTER_VALIDATE_EMAIL) !== false); } # a new seed value for mt_srand() |