Changeset 729 for trunk/lib/PDO.inc.php


Ignore:
Timestamp:
Jun 30, 2020 12:58:18 AM (4 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/PDO.inc.php

    r724 r729  
    184184
    185185        try {
     186            // Set charset in DSN and disable emulated prepares as per https://stackoverflow.com/questions/134099/are-pdo-prepared-statements-sufficient-to-prevent-sql-injection/12202218
    186187            $dsn = sprintf('mysql:host=%s;dbname=%s;charset=%s', $this->getParam('db_server'), $this->getParam('db_name'), $this->getParam('character_set'));
    187188            $options = [
Note: See TracChangeset for help on using the changeset viewer.