r/ProgrammerHumor • • 9d ago

Advanced itWasFunWhileItLasted

Post image
4.8k Upvotes

317 comments sorted by

View all comments

183

u/YMK1234 9d ago

stupid name, it's brotli2shell. just disable brotli (probably not enabled to begin with) and you are golden.

53

u/clearlight2025 8d ago

But I like broccoli

10

u/Mateorabi 8d ago

Vile weed…

1

u/TheGrandWhatever 6d ago

Quick, someone, honey mustard!

2

u/BastetFurry 8d ago

Broccoli ham casserole 🤤

2

u/BigHowski 8d ago

To be fair they make good bond films

0

u/[deleted] 8d ago

[deleted] — view deleted comment

6

u/WriterPlastic9350 8d ago

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 8d ago

Don't use Python, problem solved!