--- app/utils/GravatarUtil.java
+++ app/utils/GravatarUtil.java
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 |
|
28 | 28 |
public class GravatarUtil { |
29 | 29 |
|
30 |
- public static final String DEFAULT_GRAVATAR_URL = "http://ko.gravatar.com/userimage/53495145/0eaeeb47c620542ad089f17377298af6.png"; |
|
30 |
+ public static final String DEFAULT_GRAVATAR_URL = "https://ko.gravatar.com/userimage/53495145/0eaeeb47c620542ad089f17377298af6.png"; |
|
31 | 31 |
public static final int DEFAULT_SIZE = 80; |
32 | 32 |
|
33 | 33 |
public static String getAvatar(String email) { |
... | ... | @@ -40,7 +40,7 @@ |
40 | 40 |
|
41 | 41 |
public static String getAvatar(String email, int size, String defaultImageUrl) { |
42 | 42 |
try { |
43 |
- String url = "http://www.gravatar.com/avatar/" + MD5Util.md5Hex(email) + "?s=" + size; |
|
43 |
+ String url = "https://www.gravatar.com/avatar/" + MD5Util.md5Hex(email) + "?s=" + size; |
|
44 | 44 |
if(StringUtils.isNotEmpty(defaultImageUrl)) { |
45 | 45 |
url += "&d=" + URLEncoder.encode(defaultImageUrl, "UTF-8"); |
46 | 46 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?