Why replace() is not considered a SQL injection vector #878
Unanswered
EduardoThums
asked this question in
Q&A
Replies: 2 comments
-
This is a great find!
In my view, they should both be considered equally by the test. See PR #1044 |
Beta Was this translation helpful? Give feedback.
0 replies
-
There are also other more convoluted ways in which to construct a string that can be prone to SQL injection, e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
There's a strange behavior when scanning the code for SQL injections that I couldn't figure out why:
The replace() method in the string variables doesn't trigger the SQL injection warning, but some other string concatenations techniques like f-string do.
There's an explanation about why?
Example: playground.txt
Beta Was this translation helpful? Give feedback.
All reactions