[Solar-svn] Revision 2994

pmjones at solarphp.com pmjones at solarphp.com
Tue Mar 11 20:57:52 CDT 2008


Solar_Filter_ValidateEmail: [CHG] No longer validates 'email at host' ... you must use a fully-qualified domain name.  Thanks, Jeff Surgeson and JB, for pointing this out and making the proper RFC recommendations.


Modified: trunk/Solar/Filter/ValidateEmail.php
===================================================================
--- trunk/Solar/Filter/ValidateEmail.php	2008-03-12 01:54:40 UTC (rev 2993)
+++ trunk/Solar/Filter/ValidateEmail.php	2008-03-12 01:57:52 UTC (rev 2994)
@@ -65,7 +65,7 @@
         
         $word = "($atom|$quoted_string)";
         
-        $domain = "$sub_domain(\\x2e$sub_domain)*";
+        $domain = "$sub_domain(\\x2e$sub_domain)+";
         
         $local_part = "$word(\\x2e$word)*";
         




More information about the Solar-svn mailing list