Skip to content

Abolish the use of parameter escapes completely. #57

@SOF3

Description

@SOF3

Currently, all parameters except MySQL strings are formatted on the main thread and interpolated into the query.

This is dangerous as it increases the risk of SQL injection attacks. Although there is no immediately known impact, this increases the risk in the future and relies on the correct implementation of integer formatting code, which is not guaranteed to be secure.

Furthermore, bound parameters do not need a formatting-parsing roundtrip and is likely to bring better performance for the query sending process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions