stable

Clone or download

Read-only

request #11066: Introduce usage of prepared statements to query the SQL database

This rely on paragonie/easydb to provide a small abstraction over PDO: the library comes with sane default and with helpers we would end up writing anyway. This contribution converts the captcha plugin to prepared statements. There is no functionnal changes. Change-Id: I9e48f0e4ebd9182471140dc8ee5d90cf7c116c2d

Modified Files

Name
M plugins/captcha/include/Captcha/ConfigurationRetriever.php +2 −2 Go to diff View file
M plugins/captcha/include/Captcha/DataAccessObject.php +16 −25 Go to diff View file
A src/common/DB/DBFactory.php +48 −0 Go to diff View file
A src/common/DB/DataAccessObject.php +44 −0 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/composer.json +2 −1 Go to diff View file
M src/composer.lock +55 −1 Go to diff View file