From: Francois Marier Date: Thu, 24 Mar 2011 08:08:51 +0000 (+1300) Subject: comments: serve avatars over https in https wikis X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83056abb8788e55041f2ea535236afd20736a659;p=ikiwiki.git comments: serve avatars over https in https wikis --- diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 00ab1c8bd..2f2a515b9 100755 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -195,7 +195,7 @@ sub preprocess { my $email = IkiWiki::userinfo_get($commentuser, 'email'); if (defined $email) { - $commentauthoravatar = libravatar_url(email => $email); + $commentauthoravatar = libravatar_url(email => $email, https => $ENV{HTTPS}); } } }