News for hackers. Stuff that matters.
Re:MD5 hash extension attack breaks API authentication in Fl... by dfranke on Tuesday September 29, 2009 @01:35PM (#850868)
Eeeeeeewwwww.

If you're using .split() to "parse" untrusted input, and not even validating it against a regex first, that's an epic fail in its own right.

Re:MD5 hash extension attack breaks API authentication in Fl... by tptacek on Wednesday September 30, 2009 @04:00PM (#853511)
What a weird thing to say. You trust a regex engine more than you trust "split()"?
Re:MD5 hash extension attack breaks API authentication in Fl... by dfranke on Wednesday September 30, 2009 @04:07PM (#853526)
I trust a generated parser more than a hand-written one. Any parsing algorithm that involves the use of split() is almost certain to be weakly thought-out and have ill-defined behavior for unexpected input. A well-written parser will never read past the first unexpected character, or at least token.