aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authornatec <natec@users.sourceforge.net>2001-11-08 06:12:53 +0000
committernatec <natec@users.sourceforge.net>2001-11-08 06:12:53 +0000
commit41c15e37ce86a63e9120c37f3ef178acf8736083 (patch)
tree3eb66e87f131f07c28a66da2837b7283715e901c /phpBB/profile.php
parent8ef00898b3eeea09a46ed24a140983f203d90b02 (diff)
downloadforums-41c15e37ce86a63e9120c37f3ef178acf8736083.tar
forums-41c15e37ce86a63e9120c37f3ef178acf8736083.tar.gz
forums-41c15e37ce86a63e9120c37f3ef178acf8736083.tar.bz2
forums-41c15e37ce86a63e9120c37f3ef178acf8736083.tar.xz
forums-41c15e37ce86a63e9120c37f3ef178acf8736083.zip
Fixed bug where more than 2 dots in email not allowed in registration
git-svn-id: file:///svn/phpbb/trunk@1288 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index c974385dc2..cf039fc658 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -49,7 +49,7 @@ function validate_email($email)
if($email != "")
{
- if( preg_match("/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)?[a-z]+$/is", $email) )
+ if( preg_match("/^[a-z0-9\.\-_]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)*?[a-z]+$/is", $email) )
{
$sql = "SELECT ban_email
FROM " . BANLIST_TABLE;