News for hackers. Stuff that matters.
Re:The “Chad” bug by __david__ on Thursday December 31, 2015 @02:31AM (#10816670)
Why reject a perfectly valid email? Why do you get to thumb your nose at that particular one?
Re:The “Chad” bug by Dylan16807 on Thursday December 31, 2015 @02:50AM (#10816718)
It's only 'valid' because of the particular decisions made by someone writing a random RFC. There's next to no reason to allow quoted strings, and even less reason to allow a different character set inside of them.

Email addresses do not need escape sequences.

Re:The “Chad” bug by kevin_thibedeau on Thursday December 31, 2015 @11:56AM (#10818405)
Where do you draw the line? I occasionally have valid GMail addresses with "+" in them rejected because someone wrote a crappy validator.
Re:The “Chad” bug by Dylan16807 on Thursday December 31, 2015 @05:33PM (#10820089)
Allow all the characters that are supposed to be valid outside of quotation marks. Letters, numbers, .!#$%&'*+-/=?^_`{|}~

That way if you don't mind letting through double periods or domain segments having more than 63 characters, you can validate an email with two character classes separated by an @. The basic regex looks like [xx]+@[yy]+

Re:The “Chad” bug by mikeash on Thursday December 31, 2015 @06:37AM (#10817215)
Doesn't this sort of RFC typically summarize and codify real-world usage, rather than coming up with new stuff? If a feature is in there, I'd have thought it's because somebody uses it.
Re:The “Chad” bug by pc86 on Thursday December 31, 2015 @10:40AM (#10817989)
At some point you just have to reach the level of "Yeah... don't do that." I would suspect have "@" as part of your email probably approaches that line.
Re:The “Chad” bug by mikeash on Thursday December 31, 2015 @11:08AM (#10818156)
It would be interesting to know the context. If this feature was already in a popular piece of software, then saying "don't do that" in your standard risks fragmenting things rather than codifying them, and that's no good either.
Re:The “Chad” bug by immibis on Thursday December 31, 2015 @07:16PM (#10820500)
> It's only 'valid' because of the particular decisions made by someone writing a random RFC.

You know that's exactly what "valid" means, when talking about something standardized, right?

In HTML there's no reason to use " outside of an attribute value. Should browsers reject it?

Re:The “Chad” bug by oh_sigh on Thursday December 31, 2015 @01:10PM (#10818788)
I don't think gmail will let you register that email address.
Re:The “Chad” bug by immibis on Thursday December 31, 2015 @07:17PM (#10820504)
Okay then, c."@"[email protected]