From 8dd6e9f50c2be3380fd50a5f97e01246d6dc4e30 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 4 Sep 2010 13:51:25 +0000 Subject: [PATCH] fixed regex for local mail addresses --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 2e9d7113..715bee9c 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -404,7 +404,7 @@ function get_preg($argument, $regexp) { $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-])+)*)?$/'; + $pregexpr = '/^([0-9a-zA-Z+\\/\\._-])+([@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*)?$/'; break; case "postalAddress": // Allow all but \, <, >, =, $, ? case "postalCode":