Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-22 | Fix EncodingHelper#clean blowing up on UTF-16BE strings | Ahmad Sherif | |
Closes gitaly#1101 | |||
2018-02-10 | Return a warning string if we try to encode to unsupported encoding | Ahmad Sherif | |
Fixes gitlab-development-kit#321 | |||
2018-01-05 | Fix a bug where charlock_holmes was used needlessly to encode strings | Alejandro Rodríguez | |
2017-12-28 | Move encoding methods to the more general EncodingHelper | Alejandro Rodríguez | |
2017-11-23 | Fix encoding bugs in Gitlab::Git::User | Jacob Vosmaer (GitLab) | |
2017-10-19 | Avoind unnecesary `force_encoding` operations | Alejandro Rodríguez | |
They're costly. This will also avoid some edge cases where charlock_holmes assigns a weird encoding to a perfectly valid UTF-8 string. | |||
2017-09-06 | remove useless comment | micael.bergeron | |
2017-09-06 | renames ambiguous methods and add spec | micael.bergeron | |
2017-09-06 | fix refactoring error with Blob.binary? | micael.bergeron | |
remove some lint | |||
2017-09-06 | revert to using a simple representation | micael.bergeron | |
2017-09-06 | wip: fake its a binary diff | micael.bergeron | |
2017-08-08 | Raise encoding confidence threshold to 50 | Lin Jen-Shin | |
It is recommended that we set this to 50: https://gitlab.com/gitlab-org/gitlab-ce/issues/35098#note_35036746 In this particular issue, the confidence was 42 for Shift JIS, but in fact that's encoded in UTF-8 just with a single bad character. In this case, we shouldn't try to treat it as Shift JIS, but just treat it as UTF-8 and remove invalid bytes. Treating it like Shift JIS would corrupt the whole data. Unfortunately, the diff which would cause this could not be disclosed therefore we can't use it as a test example. | |||
2017-06-06 | Fix binary encoding error on MR diffs | James Lopez | |
2017-06-02 | Rename `Gitlab::Git::EncodingHelper` to `Gitlab::EncodingHelper` | Bob Van Landuyt | |