Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Convert email to lowercase #2

Open
wants to merge 2 commits into from

3 participants

@justinabrahms

:+1: This would be a nice fix.

@edtanous

Just ran into this same problem myself. Made literally the exact same fix before finding this in a search. getting this merged into the mainline would be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  gravatar/templatetags/gravatar.py
View
2  gravatar/templatetags/gravatar.py
@@ -38,7 +38,7 @@ def _get_user(user):
def _get_gravatar_id(email):
- return md5_constructor(email).hexdigest()
+ return md5_constructor(email.strip().lower()).hexdigest()
@register.simple_tag
Something went wrong with that request. Please try again.