PennyDreadfulMTG / Penny-Dreadful-Tools

A suite of tools for the Penny Dreadful MTGO community
https://pennydreadfulmagic.com
MIT License
39 stars 28 forks source link

Use our standard like escaping in queries always, add "fuzzy" option #12796

Closed bakert closed 1 week ago

bakert commented 1 week ago

Having some separate code that has to know all the pitfalls seems like a bad idea. No SQL injection possible here but we were failing to escape backslashes.

Now everything uses the same escaping code.