|
From: Jonathan H. <the...@us...> - 2002-03-18 19:42:10
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv5485/includes
Modified Files:
functions_validate.php
Log Message:
a "fix" for #529920... Now banned emails can appear in *user*@domain.com
Index: functions_validate.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions_validate.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** functions_validate.php 18 Mar 2002 13:35:22 -0000 1.2
--- functions_validate.php 18 Mar 2002 19:42:05 -0000 1.3
***************
*** 114,118 ****
while( $row = $db->sql_fetchrow($result) )
{
! $match_email = str_replace('*@', '.*@', $row['ban_email']);
if ( preg_match('/^' . $match_email . '$/is', $email) )
{
--- 114,118 ----
while( $row = $db->sql_fetchrow($result) )
{
! $match_email = str_replace('*', '.*', $row['ban_email']);
if ( preg_match('/^' . $match_email . '$/is', $email) )
{
***************
*** 182,184 ****
}
! ?>
\ No newline at end of file
--- 182,184 ----
}
! ?>
|