Nigel Peck wrote:
I do some basic email validation:

/ ^ [...@]+ \@ (?: [^.]+ \. )+ [a-zA-Z]{2,3} $ /x

What about someb...@mail.example.com or someb...@example.info? Maybe you ought to use a module for that.

The only header I use user submitted data for is the reply-to header (so I can hit reply).

Sounds pretty safe to me.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to