diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-18 17:03:02 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-18 17:12:06 +0800 |
commit | b07da07c82e17f0be5bb5398b9b0cfec52cf2d2b (patch) | |
tree | 972eea6314234e051b4b37202fbd19866177033e /lib/ci | |
parent | ec9f6180bc4684521444ee0681308bf4c9c71297 (diff) | |
download | gitlab-ce-b07da07c82e17f0be5bb5398b9b0cfec52cf2d2b.tar.gz |
Just enforce the output encoding for Ansi2html
Fixes https://sentry.gitlap.com/gitlab/gitlabcom/issues/27545/
Diffstat (limited to 'lib/ci')
-rw-r--r-- | lib/ci/ansi2html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/ansi2html.rb b/lib/ci/ansi2html.rb index 1020452480a..b439b0ee29b 100644 --- a/lib/ci/ansi2html.rb +++ b/lib/ci/ansi2html.rb @@ -172,7 +172,7 @@ module Ci close_open_tags() OpenStruct.new( - html: @out, + html: @out.force_encoding(Encoding.default_external), state: state, append: append, truncated: truncated, |