From 64d0fa452631c6e228fad18f8ae469582e3734b3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 11 Nov 2014 14:51:35 -0800 Subject: [PATCH] use uri_escape_utf8 instead of uri_escape --- Debbugs/CGI/Bugreport.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index 4793cd6..dc02b22 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -41,7 +41,7 @@ use Debbugs::UTF8; use Debbugs::Config qw(:config); use POSIX qw(strftime); use Encode qw(decode_utf8 encode_utf8); -use URI::Escape qw(uri_escape); +use URI::Escape qw(uri_escape_utf8); use Scalar::Util qw(blessed); BEGIN{ @@ -452,7 +452,7 @@ sub handle_record{ my $r_l = reply_headers($entity); $output .= q(reply); $output .= ')'.":

\n"; @@ -475,7 +475,7 @@ sub __libravatar_url { return undef; } ($email) = get_addresses($email); - return $config{libravatar_uri}.uri_escape($email.($config{libravatar_uri_options}//'')); + return $config{libravatar_uri}.uri_escape_utf8($email.($config{libravatar_uri_options}//'')); } -- 2.39.2