From 1becf01cfa0d3efc74c2de99b9bba606f743c6f5 Mon Sep 17 00:00:00 2001 From: "miles@Oscar" Date: Fri, 29 Jan 2016 11:05:41 +0800 Subject: [PATCH 1/2] Fixed gravatar url --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index fcb234add..25b8904b1 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -415,7 +415,7 @@ func NewContext() { case "duoshuo": GravatarSource = "http://gravatar.duoshuo.com/avatar/" case "gravatar": - GravatarSource = "//1.gravatar.com/avatar/" + GravatarSource = "//secure.gravatar.com/avatar/" default: GravatarSource = source } From beefc53e597e3ac282b35df7f752a358c00674ea Mon Sep 17 00:00:00 2001 From: "miles@Oscar" Date: Fri, 29 Jan 2016 13:06:17 +0800 Subject: [PATCH 2/2] Using https for gravatar --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 25b8904b1..052ec377e 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -415,7 +415,7 @@ func NewContext() { case "duoshuo": GravatarSource = "http://gravatar.duoshuo.com/avatar/" case "gravatar": - GravatarSource = "//secure.gravatar.com/avatar/" + GravatarSource = "https://secure.gravatar.com/avatar/" default: GravatarSource = source }