php.lang.security.injection.tainted-sql-string does not detect SQL statement with newline #3376
Open
Description
php.lang.security.injection.tainted-sql-string
<?php
// Not detected
mysqli_query($handle, "
SELECT * FROM sometable WHERE field=".$_GET['input']);
// Detected
mysqli_query($handle,
"SELECT * FROM sometable WHERE field=".$_GET['input']);