summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Marier <francois@debian.org>2011-03-24 21:08:51 +1300
committerFrancois Marier <francois@debian.org>2011-03-30 20:59:17 +1300
commit83056abb8788e55041f2ea535236afd20736a659 (patch)
treef5f396eefd63021b1ee6a89ddb3a14b7aeff84f5
parent7723e94218a8c526fc8d869086c05dd382268649 (diff)
comments: serve avatars over https in https wikis
-rwxr-xr-xIkiWiki/Plugin/comments.pm2
1 files changed, 1 insertions, 1 deletions
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});
}
}
}