[Svn] [roundcube/roundcubemail] 672e57: Patched bug where rcube_db::quote() was causing an...

GitHub noreply at github.com
Mon Feb 19 10:48:08 CET 2018

  Branch: refs/heads/master
  Home:   https://github.com/roundcube/roundcubemail
  Commit: 672e57ea48baa54009be449f5590733f66b50846
  Author: laodc <github at laodc.com>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M program/lib/Roundcube/rcube_db.php

  Log Message:
  Patched bug where rcube_db::quote() was causing an infinite connection loop. (#6175)

As rcube_db::quote() checks to see if the connection is up before quoting, this would cause the class to try connect again, as rcube_db::$dbh was not being set until AFTER conn_configure was completed, causing a loop.

So updated rcube_db::$dbh in the rcube::conn_create() function instead allowing access to the new object straight away.

It's needed for edeb5d7.

More information about the svn mailing list