logoalt Hacker News

ruhithyesterday at 11:56 AM3 repliesview on HN

The real punchline is that this is a perfect example of "just enough knowledge to be dangerous." Whoever processed these emails knew enough to know emails aren't plain text, but not enough to know that quoted-printable decoding isn't something you hand-roll with find-and-replace. It's the same class of bug as manually parsing HTML with regex, it works right up until it doesn't, and then you get congressional evidence full of mystery equals signs.


Replies

lvncelotyesterday at 12:40 PM

> It's the same class of bug as manually parsing HTML with regex, it works right up until it doesn't

I'm sure you already know this one, but for anyone else reading this I can share my favourite StackOverflow answer of all time: https://stackoverflow.com/a/1732454

show 5 replies
ErigmolCtyesterday at 4:42 PM

And because the output still looks mostly readable, nobody questions it until years later when it's suddenly evidence in front of Congress

V__yesterday at 12:22 PM

They have top men working on it right now.