bvmyeha88 / django-gravatar

Automatically exported from code.google.com/p/django-gravatar
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Hashed emails should be lowercase #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently user e-mails are hashed as is which won't match gravatars because
gravatar uses exclusively lowercase urls.

The url should be constructed using a lower case email like so:

url = "%savatar/%s/" % (GRAVATAR_URL_PREFIX,
md5_constructor(email.lower()).hexdigest())

Original issue reported on code.google.com by IanMLe...@gmail.com on 1 Feb 2009 at 6:35

GoogleCodeExporter commented 9 years ago
Its 2012 and no activity. I might end up maintaining this package.

Original comment by workman...@gmail.com on 4 Feb 2013 at 1:54