pookey: fixes #83
This commit is contained in:
parent
04a3cb9f63
commit
aa25b57eda
@ -32,6 +32,12 @@ class Doctrine_Validator_Email {
|
|||||||
$sub_domain = "($domain_ref|$domain_literal)";
|
$sub_domain = "($domain_ref|$domain_literal)";
|
||||||
$word = "($atom|$quoted_string)";
|
$word = "($atom|$quoted_string)";
|
||||||
$domain = "$sub_domain(\\x2e$sub_domain)+";
|
$domain = "$sub_domain(\\x2e$sub_domain)+";
|
||||||
|
/*
|
||||||
|
following psudocode to allow strict checking - ask pookey about this if you're puzzled
|
||||||
|
|
||||||
|
if ($this->getValidationOption('strict_checking') == true)
|
||||||
|
$domain = "$sub_domain(\\x2e$sub_domain)*";
|
||||||
|
*/
|
||||||
$local_part = "$word(\\x2e$word)*";
|
$local_part = "$word(\\x2e$word)*";
|
||||||
$addr_spec = "$local_part\\x40$domain";
|
$addr_spec = "$local_part\\x40$domain";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user