Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #466 from Sancus/makegravatarhttps

[Bug 866041] change gravatar url to https
  • Loading branch information...
commit 6be922d5212e2b938df7ba1fe295fe3df96a3cce 2 parents ae62e5e + 6636c04
@glogiotatidis glogiotatidis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/common/helpers.py
View
2  apps/common/helpers.py
@@ -17,7 +17,7 @@
def gravatar(email, default=settings.DEFAULT_AVATAR_URL, size=175, rating='pg'):
"""Return the Gravatar URL for an email address."""
- return 'http://www.gravatar.com/avatar/%s?%s' % (
+ return 'https://secure.gravatar.com/avatar/%s?%s' % (
hashlib.md5(email.lower()).hexdigest(),
urllib.urlencode({'d': absolutify(default),
's': str(size),
Please sign in to comment.
Something went wrong with that request. Please try again.