r/ProgrammerHumor • • Oct 24 '26

Advanced itWasFunWhileItLasted

Post image
4.9k Upvotes

315 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Oct 24 '26

[deleted] — view deleted comment

6

u/WriterPlastic9350 Oct 25 '26

Node does this as well. It is why those languages are (IMO, incorrectly) being reported as "vulnerable". They are, but the vulnerability is actually in anything that uses the brotli lib. It's just Node and Python "helpfully" will handle that encoding for you if the client to your server (or the server you're sending a request to) asks you to, and you have to opt-out of that, if you even can.

Use a sensible language like Go, or other frameworks which don't rely on magic under the guise of features.

-2

u/ldn-ldn Oct 25 '26

Don't use Python, problem solved!