News for hackers. Stuff that matters.
Re:Creative usernames and Spotify account hijacking by spicyj on Tuesday June 18, 2013 @08:24PM (#5902916)
That's exactly what they describe as the cause of the bug. They intended for the function to be idempotent but it wasn't because of a misunderstanding with the Python library spec.
Re:Creative usernames and Spotify account hijacking by Xorlev on Tuesday June 18, 2013 @11:18PM (#5903567)
Worse, it /did/ work that way in Python 2.4 but Python 2.5 stopped throwing an exception for invalid codepoints which broke the Twisted library which broke their canonicalization function.