validation unique()->ignore SQL injection #48865
Unanswered
mshamaseen
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It's possible the value passed into the |
Beta Was this translation helpful? Give feedback.
2 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.
-
According to the documentation:
I was in a case where I needed to pass a user input to the

ignore
method, so I first tried to make a malicious input to make SQL injection, but no SQL injection happened!After digging more into this, I can see the SQL parameters binding in the debug bar.
Which I assume means, the documentation is outdated, and the
ignore
does prevent SQL injection on user-controlled input.Am I right? Or I'm missing anything?
Beta Was this translation helpful? Give feedback.
All reactions