[commits] Horde branch master updated. 84b0cd595d0d537811495d47ce83ff82902c1265

Michael J. Rubinsky mrubinsk at horde.org
Thu Oct 3 02:33:08 UTC 2013


The branch "master" has been updated.
The following is a summary of the commits.

from: df6090b661783dc5eff54aaca6da359799833a54

84b0cd5 Do not force the database when one is explicitly specified.

Summary: http://github.com/horde/horde/compare/df6090b661783dc5eff54aaca6da359799833a54...84b0cd595d0d537811495d47ce83ff82902c1265

-----------------------------------------------------------------------

commit 84b0cd595d0d537811495d47ce83ff82902c1265
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date:   Wed Oct 2 22:29:18 2013 -0400

    Do not force the database when one is explicitly specified.
    
    It is EXTREMELY dangerous to do this. E.g.,
    
    $client = new Horde_Mongo_Client();
    
    // This inserts into 'horde' even though you specify 'test_database'.
    $client->test_database->my_collection->insert($document);
    
    // This completely nukes your 'horde' database.
    $client->test_database->drop();

 framework/Mongo/lib/Horde/Mongo/Client.php |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

http://github.com/horde/horde/commit/84b0cd595d0d537811495d47ce83ff82902c1265
http://git.horde.org/horde-git/-/commit/84b0cd595d0d537811495d47ce83ff82902c1265




More information about the commits mailing list