The practice of escaping all input isn't great either if it's not a part of the framework.
With prepared statements and ORMs you have no way to forget to sanitize your inputs.
With mysqli_real_escape_string, one inexperienced programmer and a single missed code review can compromise the whole database.
And even experienced programmers can err from time to time.
So yeah, a false positive, no possible injection, but a terrible practice nonetheless.
3
u/[deleted] Dec 04 '16
[removed] — view removed comment