-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor updates to the docs and script #98
Conversation
Codecov Report
@@ Coverage Diff @@
## main #98 +/- ##
=======================================
Coverage ? 95.22%
=======================================
Files ? 51
Lines ? 2285
Branches ? 0
=======================================
Hits ? 2176
Misses ? 109
Partials ? 0
|
7a3e610
to
734d66d
Compare
734d66d
to
586422a
Compare
@@ -1,6 +1,6 @@ | |||
This codemod refactors SQL statements to be parameterized, rather than built by hand. | |||
|
|||
Without parameterization, developers must remember to escape string inputs using the rules for that column type and database. This usually results in bugs -- and sometimes vulnerability. Although it's not clear if this code is exploitable today, this change will make the code more robust in case the conditions which prevent exploitation today ever go away. | |||
Without parameterization, developers must remember to escape string inputs using the rules for that column type and database. This usually results in bugs -- and sometimes vulnerabilities. Although we can't tell for sure if your code is actually exploitable, this change will make the code more robust in case the conditions which prevent exploitation today ever go away. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to also update the Java version of SQL parameterization. This was lifted straight from there.
@@ -34,7 +34,7 @@ | |||
|
|||
|
|||
class SQLQueryParameterization(BaseCodemod, UtilsMixin, Codemod): | |||
SUMMARY = "Parameterize SQL queries." | |||
SUMMARY = "Parameterize SQL Queries" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no reason for the capitalization here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This becomes the title of the PR and the docs, which are capitalized for consistency.
No description provided.