diff options
author | Byron Jones <bjones@mozilla.com> | 2013-08-19 08:05:44 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-08-19 08:05:44 +0200 |
commit | ddb819c3e46d3d84b692515f11ebd82199bee2f3 (patch) | |
tree | bb2d0e2cc03d3266693bf36c3829da992b7a340f /extensions/Gravatar | |
parent | adf8fc7a582e3217ca81e53175fa4e11c76140fa (diff) | |
download | bugzilla-ddb819c3e46d3d84b692515f11ebd82199bee2f3.tar.gz bugzilla-ddb819c3e46d3d84b692515f11ebd82199bee2f3.tar.xz |
Bug 906571: gravatars should use the lowercase form of the email
Diffstat (limited to 'extensions/Gravatar')
-rw-r--r-- | extensions/Gravatar/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Gravatar/Extension.pm b/extensions/Gravatar/Extension.pm index dc6ae5aaf..3ff1a159d 100644 --- a/extensions/Gravatar/Extension.pm +++ b/extensions/Gravatar/Extension.pm @@ -23,7 +23,7 @@ sub _user_gravatar { my ($self) = @_; if (!$self->{gravatar}) { (my $email = $self->email) =~ s/\+(.*?)\@/@/; - $self->{gravatar} = 'https://secure.gravatar.com/avatar/' . md5_hex($email) . "?size=32&d=mm"; + $self->{gravatar} = 'https://secure.gravatar.com/avatar/' . md5_hex(lc($email)) . "?size=32&d=mm"; } return $self->{gravatar}; } |