From: Don Armstrong Date: Tue, 11 Nov 2014 22:51:35 +0000 (-0800) Subject: use uri_escape_utf8 instead of uri_escape X-Git-Tag: release/2.6.0~246 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=64d0fa452631c6e228fad18f8ae469582e3734b3;hp=1cda40c7b331de6c31df360b48ed28cbc7b4db5a use uri_escape_utf8 instead of uri_escape --- 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}//'')); }