Gravatar request over SSL
  • Hello,

    I thought it might be of help. I'm testing the script in a SSL protected site and I was getting a security warning while requesting the gravatar image. I've been searching this forum and the knowledge base but I didn't find a solution for this.

    Anyway, after a little bit of research I found the PHP files that do the requesting:

    comments/add-comment.php
    comments/templates/comments.php
    comments/js/comments.js

    and changed the link

    http://www.gravatar.com/avatar/

    to

    https://secure.gravatar.com/avatar/

    No more security warnings for now.

    Cheers,
    Alex
  • Yeah, by default every external resource (like gravatar avatar) is pulled from http... currently this needs to be changed manually but in the future we might add auto detection of the (secure) protocol.

    Thanks for sharing this with us :)
  • Not a problem. That wasn't too hard to fix. This script has lots of potential and I'm sure you will find a workaround for this matter.
    Take care

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!