diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-08 13:44:05 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-08 13:44:05 +0000 |
commit | fafd6a0a0a4da1d99e2233c79bce3baf24447236 (patch) | |
tree | 3a6608e66417ad6cd8c4b622d6c980bd0b9c9acc /lib | |
parent | 5b08d59f07fc53c1e34819fac20352119d5343e6 (diff) | |
parent | 75096f958c7604be40ec7b766ce42e27978c466a (diff) | |
download | gitlab-ce-fafd6a0a0a4da1d99e2233c79bce3baf24447236.tar.gz |
Merge branch '35098-raise-encoding-confidence-threshold' into 'master'
Raise encoding confidence threshold to 50
Closes #35098
See merge request !12990
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/encoding_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/encoding_helper.rb b/lib/gitlab/encoding_helper.rb index 781f9c56a42..8ddc91e341d 100644 --- a/lib/gitlab/encoding_helper.rb +++ b/lib/gitlab/encoding_helper.rb @@ -11,7 +11,7 @@ module Gitlab # obscure encoding with low confidence. # There is a lot more info with this merge request: # https://gitlab.com/gitlab-org/gitlab_git/merge_requests/77#note_4754193 - ENCODING_CONFIDENCE_THRESHOLD = 40 + ENCODING_CONFIDENCE_THRESHOLD = 50 def encode!(message) return nil unless message.respond_to? :force_encoding |