Handle GZIP compressed files from the server by unzipping them locally

Created on 18 September 2018, over 5 years ago
Updated 10 June 2023, about 1 year ago

I have recently faced issued with Stage File Proxy, when images served from the production site is gzip-compressed.

After digging through code, and searching the issue queue here, i have found no indication that Stage File Proxy has ever supported this. It seems a bit weird to me, maybe i have missed something? I can hardly be the first person to need to support gzip-compression here.

Anyway, i have attached a patch that fixes this issue, by simply unpacking the image after it has been saved to disk. Please let me know if i have missed something here.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark mian3010

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Even though D7 has been extended to 2025, think it's unrealistic that modules will continue to support also. So closing out old D7 tickets. If anyone feels super strongly about adding to D7 please reopen but the D7 module will be relatively unmanned.

Production build 0.69.0 2024