836
Oops, wrong person. (lemmy.world)
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 69 points 2 years ago

My guess would be the response text is passed through a rudimentary templating engine that looks for { and }. Somehow it must be processing the whole chat history. The templater fails at the unexpected braces in the code block and then just gives up (probably a try-catch ignores the error and sends the message anyway).

[-] [email protected] 38 points 2 years ago

So the attack would just be a } then?

this post was submitted on 02 Jan 2024
836 points (99.4% liked)

Programmer Humor

36796 readers
277 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS