HomePhorge

(#9983) Checksum file in binary mode when storing to filebucket
78670edf5322Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9983) Checksum file in binary mode when storing to filebucket

Previously, the 'store' action for the 'file' face read content in
text mode, resulting in incorrect checksums and corrupt binaries on
Windows.

This commit changes it to use binary mode, which is a noop on Unix.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUda11a78f5447: (#9983) Serve file content in binary mode
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU78670edf5322: (#9983) Checksum file in binary mode when storing to filebucket (authored by Josh Cooper <josh@puppetlabs.com>).Nov 1 2011, 9:05 PM