projects
/
debbugs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f1589
)
Call encode_utf8 in generate_package_info
author
Don Armstrong
<don@donarmstrong.com>
Mon, 18 Jul 2016 02:36:07 +0000
(19:36 -0700)
committer
Don Armstrong
<don@donarmstrong.com>
Mon, 18 Jul 2016 02:36:07 +0000
(19:36 -0700)
- This change fixes the issue where package maintainers names were
double encoded
Debbugs/CGI/Pkgreport.pm
patch
|
blob
|
history
diff --git
a/Debbugs/CGI/Pkgreport.pm
b/Debbugs/CGI/Pkgreport.pm
index 523dbbb90a6a909d9043a4e949836dc9c35624b6..2d0de6f6c74803a704948c31e9fb7ba1961e34ce 100644
(file)
--- a/
Debbugs/CGI/Pkgreport.pm
+++ b/
Debbugs/CGI/Pkgreport.pm
@@
-41,6
+41,7
@@
use Debbugs::Bugs qw(bug_filter);
use Debbugs::Packages qw(:mapping);
use Debbugs::Text qw(:templates);
+use Encode qw(encode_utf8);
use POSIX qw(strftime);
@@
-167,7
+168,7
@@
sub generate_package_info{
printf {$output} "<a href=\"%s\">report it</a>.</p>\n",
html_escape("http://$config{web_domain}/Reporting$config{html_suffix}");
}
- return
$output_scalar
;
+ return
encode_utf8($output_scalar)
;
}