Skip to content

Handle binary data properly in Geo transfer download

Stan Hu requested to merge sh-handle-binary-data into master

On certain inputs, a Geo transfer may die with the error:

Gitlab::Geo::LfsTransfer: Error downloading file: "\xB2" from ASCII-8BIT to UTF-8

Open the file as binary to ensure Rails doesn't muck with the output.

Merge request reports

Loading