[debexpo-devel] FYI I made a new utils function, hash_it()

Asheesh Laroia asheesh at asheesh.org
Thu Aug 4 19:41:04 CEST 2011


One user complained that we improperly handled Unicode, and indeed were 
trying to pass a Unicode object to md5.new(). Then we crashed.

So I went through and created a hash_it() function that accepts Unicode 
and turns it to utf-8 before hashing, and adjust calls to md5.new() to use 
that instead.

Yours,

-- Asheesh.


More information about the debexpo-devel mailing list