Maximilian Hils
Maximilian Hils
The regex is intentionally strict to prevent request smuggling. Some cursed languages (C++'s `strtoll(,,0)` comes to mind) interpret leading zeros as octal. We can implement more lax parsing behind validate_inbound_headers=false,...
Thanks. We generally have Dependabot running monthly and/or before every release.
> - cryptography=42.0 not satisfied by version 45.0.2 > - flask=3.0 not satisfied by version 3.1.1 > - pyopenssl=24.3 not satisfied by version 25.1.0 > - tornado=6.5.0 not satisfied by...
@sbromt: thanks - you're all good. We're a bit short on reviewers on Windows, but I'll try to get to your patch in the next week or so.
offline repro: ```python3 import gzip gzip.decode( bytes.fromhex("1f8b08000000000000ffaa564a2d2a72ce4f4955b2d235d551502a4a2df12d4e57b2527ab17efbb38d4d4f7b5a9fec58fb6cd3c267733a934a3353946a01000000ffff") ) ``` The error message is already pretty clear about what's going on ("Compressed file ended before the end-of-stream marker was reached"). I...
Thank you for looking into this! Happy to take a look at a PR. :)
I think this is because your class' `__name__` is SyncConn and not Conn, which triggers a heuristic for static class attributes (https://github.com/mitmproxy/pdoc/issues/464). I suppose we could fine-tune the heuristic a...
Yes, that's definitely a bug. Patches welcome! 😃
Thank you for the super quick feedback! 😃 I also considered the approach you sketched (make `read_image` not consume self), but I think it maybe makes for a not-so-great API?...
Agreed that this is not ideal and renaming (and/or moving) the file is the way to go (`run-mitmproxy` maybe?). Contributions welcome!