Replies: 1 comment 1 reply
-
|
Yeah, we parameterise all of the queries which get sent to the database, but the logs are just a string representation of the query. I guess there is some risk that someone would copy the logged query and manually run it. What kind of output would you prefer to see in the logs? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Starting up the engine with
log_queries=True:Running a query with unsanitized input:
Logs query as:
The good news is that the SQL injection doesn't succeed, it's merely the log that doesn't show the sanitized query.
Beta Was this translation helpful? Give feedback.
All reactions