Changeset - f12cd4707301
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-01-16 16:51:32
marcin@python-works.com
patched gravatar url generation to properly support new https force flag from settings.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/helpers.py
Show inline comments
 
@@ -495,7 +495,7 @@ import urllib
 
from pylons import request
 

	
 
def gravatar_url(email_address, size=30):
 
    ssl_enabled = 'https' == request.environ.get('HTTP_X_URL_SCHEME')
 
    ssl_enabled = 'https' == request.environ.get('wsgi.url_scheme')
 
    default = 'identicon'
 
    baseurl_nossl = "http://www.gravatar.com/avatar/"
 
    baseurl_ssl = "https://secure.gravatar.com/avatar/"
0 comments (0 inline, 0 general)