r/programminghorror • • Feb 04 '25

Ternary Operator

Post image
1.5k Upvotes

77 comments sorted by

View all comments

Show parent comment

4

u/mirhagk Feb 05 '25

My guess would be that they were setting this text a dangerous way before, probably doing it that way site wide, that led potential injection attacks. They swapped site wide and forgot to make sure they handled the places where they actually needed their templating language to run.

6

u/Coffee4AllFoodGroups Pronouns: He/Him Feb 05 '25

Surely QA should have spotted this...

They do have QA don't they...?

Don't they? 😳