[Nottingham] emails containing spaces

TJ tall_long_thing at hotmail.com
Tue Oct 16 19:56:10 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/10/2012 20:32, Nick Leverton wrote:
> On Tue, Oct 16, 2012 at 07:38:13PM +0100, TJ wrote:
> 
>> thanks for the answers guy's just means i'll have to tell our
>> marketing that if the e-mail contains spaces it's probably wrong
>> ;P
> 
> Are you validating fields entered in a web page ?  In that case
> it's probably relatively (hah!) easy as you can assume it's already
> in mailbox format (e.g. a at b instead of "Foo!Bar" <a at b> or a at b
> (Foo!Bar)), and don't have to handle most of the encoding, escaping
> and embedded comment handling that the RFCs go into great lengths
> about.  Also things like mail groups that can crop up in headers
> are not likely to appear.
> 
> Nick
> 
> _______________________________________________ Nottingham mailing
> list Nottingham at mailman.lug.org.uk 
> https://mailman.lug.org.uk/mailman/listinfo/nottingham
> 
> 
Just validating data in a big CRM Database
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQfbxsAAoJEFjjHvU/62ptxz4H/0LHXcWQQiXorDFurTE4SnXe
ikCDBWxDk6oH2+wsdcejxirrR7lkfaJBBv63HDW+kzNBk5NGaSj5aUVJA3xwYrPL
A538c/ufgTaQcnSUYLo+1afmRen9W/cEpifIFF75UJdd7NZVZzqiLIOusBGWhTXJ
6BATILeSaHcdGOH7IK4nXSbaynQp1oDS45bN96yenE9bXHKLL0WocEIWVapWep+K
HvazfhNCKmwmgc5vNiHzNBkKUi6jK7eRbT+FvSTuK4uEWkgrigFGxLn7McmUvh9g
OHNLP1vBmEPcTOALzM9q3W/0Kh8NuHttA1yFa6ic4GIFH8cA0ntuNT1L3+TVJyo=
=F7Ao
-----END PGP SIGNATURE-----



More information about the Nottingham mailing list