]> gitweb.ps.run Git - ps-cgit/commit
filter: fix libravatar email-filter https issue
authorChristian Hesse <mail@eworm.de>
Wed, 10 Sep 2014 09:24:07 +0000 (11:24 +0200)
committerLukas Fleischer <cgit@cryptocrack.de>
Sat, 13 Dec 2014 11:38:42 +0000 (12:38 +0100)
commit10c5680efb02b534108b174c0967d08ae3e46927
treeab56436cbe6eb5fcca38a93a9ee84036e978e354
parentddfaef6bb28e697491b25bff5a7b260d44ce6ccf
filter: fix libravatar email-filter https issue

Serving cgit via https and getting avatar via http gives error messages
about untrusted content. This decides whether or not to use https link
by looking at the environment variable HTTPS, which is set in CGI.
filters/email-libravatar.lua