]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-601, communicate to the secure Gravatar interface when retrieving user avatars
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 1 Jul 2011 14:52:39 +0000 (14:52 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 1 Jul 2011 14:52:39 +0000 (14:52 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1089 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/templatetags/extra_tags.py

index eac264d15b307774cab03038dae4dbf0d155e8f4..cf9cee096da01cb96ad306bf377013fdcf74221d 100644 (file)
@@ -24,7 +24,7 @@ from django.core.urlresolvers import reverse
 register = template.Library()
 
 GRAVATAR_TEMPLATE = ('<img class="gravatar" width="%(size)s" height="%(size)s" '
-'src="http://www.gravatar.com/avatar/%(gravatar_hash)s'
+'src="https://secure.gravatar.com/avatar/%(gravatar_hash)s'
 '?s=%(size)s&amp;d=%(default)s&amp;r=%(rating)s" '
 'alt="%(username)s\'s gravatar image" />')