forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Makc666 on September 18, 2006, 11:08:52 am

Title: profile.php doesn't check email format
Post by: Makc666 on September 18, 2006, 11:08:52 am
If you look into
register.php
you will find this one:
Code: [Select]
    if (!eregi("^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$", $email)) $error .= '<li>' . $lang_register_php['err_invalid_email'];
If you look into
profile.php
you will not find any check for email format.
So users can enter any email they want like: testest.com or test@test