Currently, I’m seeing an issue where Cloudflare replaces the contents of PDF files on my server with 34-character code.
Trying to load this file in any browser will result in a code similar to:
The code will always be different despite the returned header of:
Attempting to download the file via curl or wget returns the proper file.
The end of my PHP script creating the file appears as so:
You can see the Reported-Size header is much larger than the content of the document (as the real content is lost somewhere in cloudflare)