From: Kohei Yoshino Date: Fri, 22 Jun 2018 02:16:23 +0000 (-0400) Subject: Bug 1470343 - GitHub PR diff is not decoded in UTF-8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10dfb73b69926f70921787b39d2bc20e8652d524;p=thirdparty%2Fbugzilla.git Bug 1470343 - GitHub PR diff is not decoded in UTF-8 --- diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 2d5d2b182..3b1c03eec 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -1212,7 +1212,7 @@ sub _attachment_fetch_github_pr_diff { warn "Github fetch error: $pr_diff, " . $response->status_line; return "Error retrieving Github pull request diff for " . $self->data; } - return $response->content; + return $response->decoded_content; } # redirect automatically to github urls