From 5e94d2b493225b6e149a73da9e44bfdc46f6c4fc Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 1 Oct 2013 12:15:06 -0700 Subject: [PATCH] fix how e-mails are passed to the avatar script --- Debbugs/CGI/Bugreport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}//''); } -- 2.39.2