fixed email check (3033605)
This commit is contained in:
parent
8b955ebe61
commit
99570d1a2c
|
@ -1,3 +1,9 @@
|
||||||
|
October 2010 3.2.0
|
||||||
|
- fixed bugs:
|
||||||
|
-> fixed email check (3033605)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
04.07.2010 3.1.1
|
04.07.2010 3.1.1
|
||||||
- LAM Pro: fix for user self service
|
- LAM Pro: fix for user self service
|
||||||
|
|
||||||
|
|
|
@ -401,7 +401,7 @@ function get_preg($argument, $regexp) {
|
||||||
$pregexpr = '/^(\\+)*([0-9a-zA-Z\\.\\ \\(\\)\\/-])*$/';
|
$pregexpr = '/^(\\+)*([0-9a-zA-Z\\.\\ \\(\\)\\/-])*$/';
|
||||||
break;
|
break;
|
||||||
case "email":
|
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;
|
break;
|
||||||
case "mailLocalAddress":
|
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-])+)*)?$/';
|
||||||
|
|
Loading…
Reference in New Issue