I was facing this weird issue where downloading a previously uploaded PDF resulted in chrome complaining about not being able to open the document. Figured out what the actual issue was after comparing the original to the downloaded file which was missing the initial %PDF-. Manually resetting the stream worked but it would be nice to have puremagic do this automatically.
I was facing this weird issue where downloading a previously uploaded PDF resulted in chrome complaining about not being able to open the document. Figured out what the actual issue was after comparing the original to the downloaded file which was missing the initial
%PDF-
. Manually resetting the stream worked but it would be nice to have puremagic do this automatically.