Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disables automatic content decompression #7513

Closed
wants to merge 1 commit into from

Conversation

@jeremylong jeremylong requested a review from aikebah March 8, 2025 11:12
@boring-cyborg boring-cyborg bot added the utils changes to utils label Mar 8, 2025
@aikebah
Copy link
Collaborator

aikebah commented Mar 9, 2025

Don't think this would be the correct fix. HTTP compression https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding is supposed to be used for compress-at-server-decompress-at-client to preserve network bandwidth. It could be used for any file.

If the original media is already encoded (e.g., as a .zip file), this information is not included in the Content-Encoding header.

When .gz files are served up by a server with a Content-Encoding gzip header set they should be double-compressed.

I would be curious to know as to whether the bitbucket mirror of the source issue is really hosting the gz files.

@jeremylong jeremylong closed this Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
utils changes to utils
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.util.zip.ZipException: Not in GZIP format when using a ndv datafeed mirror created with vulnz
2 participants