• dual_sport_dork 🐧🗡️
    link
    English
    1
    edit-2
    1 day ago

    I was thinking more along the lines of the types of laziness/ineptitude most likely present at wherever OP’s example were being written. Escape string is one line of code for this whereas preparing a statement is like five.

    But really they should just be hashing it. Then the input doesn’t matter.