From: Taekus Date: Mon, 18 May 2015 14:45:41 +0000 (-0700) Subject: Update gravatar.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f884900a1b1cdfc31309a6fce495c0e42be5c9c8;p=friendica-addons.git Update gravatar.php changed from http://www.gravatar.com to https://secure.gravatar.com. This should have been default so that any friendica site using ssl would not have to edit this to have a completed ssl setup. --- diff --git a/gravatar/gravatar.php b/gravatar/gravatar.php index c23d1b30..eb38db78 100644 --- a/gravatar/gravatar.php +++ b/gravatar/gravatar.php @@ -42,7 +42,7 @@ function gravatar_lookup($a, &$b) { $hash = md5(trim(strtolower($b['email']))); - $url = 'http://www.gravatar.com/avatar/' .$hash .'.jpg'; + $url = 'https://secure.gravatar.com/avatar/' .$hash .'.jpg'; $url .= '?s=' .$b['size'] .'&r=' .$rating; if ($default_avatar != "gravatar") $url .= '&d=' .$default_avatar;