Skip to content

Conversation

raphaeleidus
Copy link

@raphaeleidus raphaeleidus commented Jul 8, 2021

This PR addresses #577
Because of Zip Bomb attacks this feature is disabled by default and should only be turned on when running httpbin locally as follows

docker run --env UNSAFE_BODY_DECOMPRESSION=1 -p 80:80 kennethreitz/httpbin

There are valid use cases where a server is going to receive payloads only from a trusted source that will be compressed and this can help testing around those.

@raphaeleidus raphaeleidus changed the title feat: Add optional feature to decompress encoded request body #577 feat: Add optional feature to decompress encoded request body Jul 8, 2021
@Starmania
Copy link

Good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants