From: Don Armstrong Date: Tue, 1 Oct 2013 19:15:06 +0000 (-0700) Subject: fix how e-mails are passed to the avatar script X-Git-Tag: release/2.6.0~283 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=5e94d2b493225b6e149a73da9e44bfdc46f6c4fc fix how e-mails are passed to the avatar script --- diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index b3f4ec6..8d3452d 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -148,7 +148,7 @@ sub display_entity { if ($_ eq 'From' and $param{avatars}) { my $libravatar_url = __libravatar_url(decode_rfc1522($head_field)); if (defined $libravatar_url and length $libravatar_url) { - push @headers,q(\n); + push @headers,q(\n); } } push @headers, qq(

$_: ) . html_escape(decode_rfc1522($head_field))."

\n"; @@ -447,7 +447,7 @@ sub __libravatar_url { return undef; } ($email) = get_addresses($email); - return $config{libravatar_uri}.md5_hex(lc($email)).($config{libravatar_uri_options}//''); + return $config{libravatar_uri}.$email.($config{libravatar_uri_options}//''); }