From 99570d1a2cfab3ce1fc8c75bb38c0f6c116185aa Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 9 Aug 2010 18:31:07 +0000 Subject: [PATCH] fixed email check (3033605) --- lam/HISTORY | 6 ++++++ lam/lib/account.inc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lam/HISTORY b/lam/HISTORY index cae3936c..999f58ff 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -1,3 +1,9 @@ +October 2010 3.2.0 + - fixed bugs: + -> fixed email check (3033605) + + + 04.07.2010 3.1.1 - LAM Pro: fix for user self service diff --git a/lam/lib/account.inc b/lam/lib/account.inc index eeba7499..2e9d7113 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -401,7 +401,7 @@ function get_preg($argument, $regexp) { $pregexpr = '/^(\\+)*([0-9a-zA-Z\\.\\ \\(\\)\\/-])*$/'; break; case "email": - $pregexpr = '/^([0-9a-zA-Z\\._-])+[@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*$/'; + $pregexpr = '/^([0-9a-zA-Z+\\/\\._-])+[@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*$/'; break; case "mailLocalAddress": $pregexpr = '/^([0-9a-zA-Z\\._-])+([@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*)?$/';