[Users] [Bug 3109] libravatar: make mail address lower case before hashing MD5

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu Mar 13 14:37:51 CET 2014


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3109

--- Comment #5 from Ricardo Mones <mones at users.sourceforge.net> ---
I'm very sorry and I should have thought twice before answering.

Just realized that's not the correct point to convert the address to lowercase,
because it will be done on every render, which is unnecessary and a waste of
cpu cycles.

Conversion to lowercase must be made on libravatar_header_update_hook, just
after extract_address call, the address will be always in lowercase for any
subsequent rendering calls.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list