summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-11-18 15:05:35 +0100
committerByron Jones <bjones@mozilla.com>2013-11-18 15:05:35 +0100
commit00ff4e6d2e328e4032bbbe2586c623384cc15161 (patch)
tree32d6277598af66cd38885256ef16940972b6eeb0
parent87a58194a2880d276ddfb01f15811a14e6e7d5c7 (diff)
downloadbugzilla-00ff4e6d2e328e4032bbbe2586c623384cc15161.tar.gz
bugzilla-00ff4e6d2e328e4032bbbe2586c623384cc15161.tar.xz
Bug 939717: do not normalise email addresses for gravatar
-rw-r--r--extensions/Gravatar/Extension.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Gravatar/Extension.pm b/extensions/Gravatar/Extension.pm
index 488970d89..050a0c27d 100644
--- a/extensions/Gravatar/Extension.pm
+++ b/extensions/Gravatar/Extension.pm
@@ -27,8 +27,8 @@ sub _user_gravatar {
return DEFAULT_URL;
}
if (!$self->{gravatar}) {
- (my $email = $self->email) =~ s/\+(.*?)\@/@/;
- $self->{gravatar} = 'https://secure.gravatar.com/avatar/' . md5_hex(lc($email)) . '?d=mm';
+ $self->{gravatar} = 'https://secure.gravatar.com/avatar/' .
+ md5_hex(lc($self->email)) . '?d=mm';
}
$size ||= 64;
return $self->{gravatar} . "&amp;size=$size";