php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51162 Mongo driver crashes complete system
Submitted: 2010-02-26 22:25 UTC Modified: 2010-02-27 01:19 UTC
From: cap at unagon dot com Assigned:
Status: Not a bug Package: *Database Functions
PHP Version: 5.2.13 OS: Debian Lenny
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cap at unagon dot com
New email:
PHP Version: OS:

 

 [2010-02-26 22:25 UTC] cap at unagon dot com
Description:
------------
$m = new Mongo("mongodb://dbuser:pass@localhost/"); 

produces a completely empty page, even when this is enclosed in a try..catch..finally.

$m = new Mongo("mongodb://dbuser:pass@localhost");

opens the mongo db as expected 

this uses the 1.0.4 Mongo driver on Debian Lenny 64 bit.

Reproduce code:
---------------
$m = new Mongo("mongodb://dbuser:pass@localhost/"); 


Expected result:
----------------
Either an exception or the same result as $m = new Mongo("mongodb://dbuser:pass@localhost"); (opening the db) 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-27 01:19 UTC] pajoye@php.net
Please report PECL bug at http://pecl.php.net/mongo
 [2010-02-27 01:19 UTC] pajoye@php.net
.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 03 21:01:24 2020 UTC