3 ms·
The table names, column names and conditions cannot be binded into the PDO queries as parameters. The schema functions and fast functions of the DB class are no
by usbac 7y ago
The table names, column names and conditions cannot be binded into the PDO queries as parameters. The schema functions and fast functions of the DB class are not supposed to be used with user generated input.
But anyway, I updated the framework and now any character that is not a letter, number or underscore is removed from the parameters that represent a table or column name.
Also, a warning has been added to those function documentation's thanks to your comment.
Thank you :)