Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suggestion of 2 new functions for SQL-safe CSV-values-handling for IN…
… (....) usages Instead of using: `" AND columnname IN " . implode( $array )` and have escaping outside the query (and hard to security-review), I suggest: `" AND columname IN (" . $db->safeArrayOfIntegersToCSV($array) . ")"` Which makes security-reviews much easier (and automatable). This function and its generalized use would have avoided vulnerability in joomla#42 joomla/cms-security#42 (comment)
- Loading branch information