• Sean McGivern's avatar
    Fix saving diffs that are not valid UTF-8 · 396b8f91
    Sean McGivern authored
    Previously, we used Psych, which would:
    
    1. Check if a string was encoded as binary, and not ASCII-compatible.
    2. Add the !binary tag in that case.
    3. Convert to base64.
    
    We need to do the same thing, using a new column in place of the tag.
    396b8f91
35539-can-t-create-a-merge-request-containing-a-binary-file-with-non-utf-8-characters.yml 120 Bytes