We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think this lesson is trying to say not to inject parameters into the ORDER BY clause. However, it doesn't:
ORDER BY
I mean, that's perfectly fine. lastname isn't a parameter, it's a literal.
lastname
I think what the author meant was that something like this is bad:
query = "SELECT * FROM users ORDER BY "+sortColumName+";";
if sortColumnName is user input.
sortColumnName
The text was updated successfully, but these errors were encountered:
#839: fix the SQL statement as this one does not express that the `or…
8609526
…derBy` clause input is user input
Thanks for the input, fixed the code was wrong
Sorry, something went wrong.
7b8523d
WebGoat#839: fix the SQL statement as this one does not express that …
b69af0b
…the `orderBy` clause input is user input
nbaars
No branches or pull requests
I think this lesson is trying to say not to inject parameters into the
ORDER BY
clause. However, it doesn't:I mean, that's perfectly fine.
lastname
isn't a parameter, it's a literal.I think what the author meant was that something like this is bad:
if
sortColumnName
is user input.The text was updated successfully, but these errors were encountered: