[PEAR-BUG] Bug #18755 [Opn->Csd]: Http request with NULL value

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=18755&edit=1

 ID:               18755
 Updated by:       [email protected]
 Reported By:      technical at live dot fr
 Summary:          Http request with NULL value
-Status:           Open
+Status:           Closed
 Type:             Bug
 Package:          HTTP_Request2
 Operating System: ubuntu 11.04
 Package Version:  2.0.0RC1
 PHP Version:      5.3.7
-Assigned To:      
+Assigned To:      avb
 Roadmap Versions: 
 New Comment:

-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: avb
Thanks, fixed in SVN. The method now throws an exception as was
originally intended.


Previous Comments:
------------------------------------------------------------------------

[2011-08-24 03:03:29] jeby6372

Description:
------------
When sending a http_request2 that contains a null request url, it traps
with : Fatal error: Call to a member function __toString() on a
non-object in /usr/share/php/HTTP/Request2.php on line 902. I think it
should return a response status <> 200 instead.

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


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18755&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.