diff options
author | Stan Hu <stanhu@gmail.com> | 2015-08-09 08:35:40 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-08-10 01:23:22 +0300 |
commit | c5648de230905afd35a1b044a74b6d687eaed994 (patch) | |
tree | 46312f7d97e60a230bec3210efbc9dcc3dfa749e /lib/api/files.rb | |
parent | b833f208f3a31a6ac964dac422141249f2278fd9 (diff) |
Fix corrupted binary files when using API files endpoint
Add CHANGELOG for gitlab_git 7.2.9 updates
Closes #2219
Diffstat (limited to 'lib/api/files.rb')
-rw-r--r-- | lib/api/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb index c7b30cf2f07..308c84dd135 100644 --- a/lib/api/files.rb +++ b/lib/api/files.rb @@ -67,7 +67,7 @@ module API file_path: blob.path, size: blob.size, encoding: "base64", - content: Base64.encode64(blob.data), + content: Base64.strict_encode64(blob.data), ref: ref, blob_id: blob.id, commit_id: commit.id, |