ThymonA / fivem-mysql

MySQL library/resource made for FiveM. Fastest MySQL library for FiveM
GNU General Public License v3.0
16 stars 6 forks source link

[Bug] String will be escaped #2

Closed ThymonA closed 3 years ago

ThymonA commented 3 years ago

When someone is saving an object/table/class, the resource is automatically escaping all possible MySQL injection characters.

Example: "{"black_money":0,"bank":8688975,"money":0}" will become "{\ "black_money\ ":0,\ "bank\ ":8688975,\ "money":0}"

Those strings aren't a SQL danger and shouldn't be escaped.

ThymonA commented 3 years ago

Should now be fixed in v1.0.2