Remove check for multiple dots in local-part

pull/5256/head
John Regan 8 years ago
parent 0e809364e7
commit 3a2874c77c

@ -82,7 +82,7 @@ class rcube_utils
// XXX RFC states that ".." is not allowed in a local-part
// of an email address, but apparently gmail allows it.
if(preg_match('/^\.|\.$|\.\./',$local_part)) {
if(preg_match('/^\.|\.$/',$local_part)) {
return false;
}

Loading…
Cancel
Save