3 ms·
Ran into this issue at one of the job. Developers wanted to implement validation based on RFCs. But QA and business refused to believe RFC rules and instead wa
by amerkhalid 5y ago
Ran into this issue at one of the job. Developers wanted to implement validation based on RFCs.
But QA and business refused to believe RFC rules and instead wanted their own rules. Guess what we end up implementing.
- Freak_NL 5y agoWhat did you end up doing? Anything more than checking if the string contains @ is wrong, and you should be able to find dozens of articles supporting this argument by now.
- amerkhalid 5y agoWe checked for dot in addition to @. There was probably also check for special chars which makes sense, iirc. One win we had was, we didn't hardcode any tlds.
- mro_name 5y agoeven a RFC doesn't guarantee the existence of a mailbox - if the address e.g. has a typo in the name. And own rules very much sounds like management ever wanted to invent something.