Hacker News new | past | comments | ask | show | jobs | submit login

"If you want to know that you’re being given a valid address, send it an email and have the user click a validation link in it, and stop annoying your users!"

Epic fail. Its this sort of approach that ends up resulting in cross site scripting bugs. Oh just take what ever the user typed in, and send it to the server they told me to send it to. Boom!

The perl code is perfectly reasonable for validating RFC compliant addresses.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: