[Solar-talk] Solar_Valid::email() Issue

Chris chris at dented-planet.net
Sat Sep 23 10:16:57 PDT 2006


Hello,

While looking at the regex used to validate email addresses in  
Solar_Valid::email(), I noticed that it validates locale-dependent  
characters in the local-part of an email address (via \w). This  
means, depending on the current locale setting, it may validate  
invalid email addresses (some locales contain accented characters for  
example).

According to my reading of RFC2822, only ASCII characters are  
currently supported in email addresses.

Thanks,

Chris
chris at dented-planet.net





More information about the solar-talk mailing list