On 02.04.10 19:56, Rasmus Lerdorf wrote: > rasmus Fri, 02 Apr 2010 17:56:37 +0000 > > Revision: http://svn.php.net/viewvc?view=revision&revision=297350 > > Log: > Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576
I'm referring to the following comment: > + * However, it is not identical. I changed it to only consider > routeable > + * addresses as valid. Michael's regex considers a...@b a valid address > + * which conflicts with section 2.3.5 of RFC 5321 which states that: Is this actually correct behavior? The top-level domain for the Vatican e.g. has MX records, so at least theoretically p...@va is a valid and routeable email address, no matter what RFC 5321 states. $ host -t MX va va mail is handled by 10 lists.vatican.va. va mail is handled by 20 paul.vatican.va. va mail is handled by 50 proxy2.urbe.it. va mail is handled by 90 john.vatican.va. - Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php