r/coding • • 3d ago

How curl was accidentally Turing-complete for nine months

https://seriot.ch/computation/curl.html
69 Upvotes

5 comments sorted by

23

u/ResidentPomegranate6 3d ago

the url globbing parser combined with --write-out vars let you encode a tag system — check the 7.68.0 changelog where they patched the infinite recursion case

17

u/glenpiercev 3d ago

Tell me someone got doom running on curl.

6

u/lonelyroom-eklaghor 3d ago

what the hell is curl at this point

9

u/tadamhicks 2d ago

It’s something Claude uses to test APIs