[wp-trac] [WordPress Trac] #28625: Enhancement: Add constants to support SSL connections for mysqli

WordPress Trac noreply at wordpress.org
Sat Jun 28 01:52:05 UTC 2014


#28625: Enhancement: Add constants to support SSL connections for mysqli
----------------------------+------------------------------
 Reporter:  hypertextranch  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Database        |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------------

Comment (by andrewbevitt):

 I agree this should be included. But, the patch shouldn't silently drop
 the certificate file if the file does not exist. This would allow the
 connection to be opened without SSL which the MySQL server may allow.

 It would be better to pass the parameter as given, and allow the
 mysqli_real_connect call to fail. This seems to be the intended idea, as
 the PHP docs for mysqli_ssl_set indicate it always returns TRUE
 (http://www.php.net/manual/en/mysqli.ssl-set.php).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28625#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list