|
From: Nathan C. <na...@us...> - 2001-11-08 06:12:55
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv18361
Modified Files:
profile.php
Log Message:
Fixed bug where more than 2 dots in email not allowed in registration
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -r1.125 -r1.126
*** profile.php 2001/11/05 01:24:26 1.125
--- profile.php 2001/11/08 06:12:53 1.126
***************
*** 50,54 ****
if($email != "")
{
! if( preg_match("/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)?[a-z]+$/is", $email) )
{
$sql = "SELECT ban_email
--- 50,54 ----
if($email != "")
{
! if( preg_match("/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)*?[a-z]+$/is", $email) )
{
$sql = "SELECT ban_email
|