]> git.mxchange.org Git - friendica-addons.git/commitdiff
Update gravatar.php
authorTaekus <taek@taek.us>
Mon, 18 May 2015 14:45:41 +0000 (07:45 -0700)
committerTaekus <taek@taek.us>
Mon, 18 May 2015 14:45:41 +0000 (07:45 -0700)
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.

gravatar/gravatar.php

index c23d1b30f83c2255d2e68ea98a4897d0752fe813..eb38db78f6cc3859ac37d962c87c4c2c111a2c93 100644 (file)
@@ -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;