r/ProgrammerHumor • • Oct 24 '26

Advanced itWasFunWhileItLasted

Post image
4.9k Upvotes

315 comments sorted by

View all comments

Show parent comment

0

u/LegendaryMauricius Oct 27 '26

It's still worth asking why SQL engines 'enabled' the feature of executing arbitrary strings as code, but eh...

2

u/Hatatytla-1024 Oct 27 '26

Jesus have you not heard of SQL variables??? And wtf does this have to do with http2shell??

3

u/SourSovereign Oct 27 '26

I mean their questions aren't wrong. Some things are really ... curious on why they are designed that way.

You can execute JavaScript from a freaking SVG file. Vector data...why would they ever need JavaScript execution? I get it, it's XML based and all but still...like, just don't interpret the JS part?

In 98% of all cases, you block it yourself nowadays. Should be opt in instead of opt out to execute arbitrary code imo.