summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-06-22 04:16:23 +0200
committerdklawren <dklawren@users.noreply.github.com>2018-06-22 04:16:23 +0200
commit10dfb73b69926f70921787b39d2bc20e8652d524 (patch)
tree27ffa3b997300652b8074c024a8c44b5a3c88027 /extensions
parent28b223d22e3405174b2ac29bc5bb5c2825eb631c (diff)
downloadbugzilla-10dfb73b69926f70921787b39d2bc20e8652d524.tar.gz
bugzilla-10dfb73b69926f70921787b39d2bc20e8652d524.tar.xz
Bug 1470343 - GitHub PR diff is not decoded in UTF-8
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BMO/Extension.pm2
1 files changed, 1 insertions, 1 deletions
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