in reply to Re: Re: Re: Re: Re: preventing malicious mail attacks
in thread preventing malicious mail attacks
For the email address, I applied the same regexes but I also applied the join [ ,] thing you mentioned earlier. The ZIP code is also using this join feature, that way anything after the first comma or space is removed and not worried about.
After running a few tests, it seems to be working fine. The user can still add fake data to the fields, but the harmful codes have been removed and all that's left is text. That's no big deal :).
Thanks for all your help everyone!
|
|---|