News for hackers. Stuff that matters.
Re:HTML Form Validation is heavily underused by friendzis on Wednesday October 30, 2024 @02:58AM (#41992434)
> Anything you can send an email to that is received, as far as I am concerned.

100% this.

The only acceptable hard validation is to check whether there is an @ between some characters. something like `.@.` in regex.

It makes sense to do sanity checking (soft validation) on client side. There is 99.9% chance that `[email protected]` is wrong, outright rejecting that is wrong, though.

There are no comments on this comment yet.