diff options
author | Francois Marier <francois@debian.org> | 2011-03-24 21:08:51 +1300 |
---|---|---|
committer | Francois Marier <francois@debian.org> | 2011-03-30 20:59:17 +1300 |
commit | 83056abb8788e55041f2ea535236afd20736a659 (patch) | |
tree | f5f396eefd63021b1ee6a89ddb3a14b7aeff84f5 /IkiWiki/Plugin | |
parent | 7723e94218a8c526fc8d869086c05dd382268649 (diff) |
comments: serve avatars over https in https wikis
Diffstat (limited to 'IkiWiki/Plugin')
-rwxr-xr-x | IkiWiki/Plugin/comments.pm | 2 |
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}); } } } |