Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.3.0

Bug #18755 Http request with NULL value
Submitted: 2011-08-24 07:03 UTC
From: jeby6372 Assigned: avb
Status: Closed Package: HTTP_Request2 (version 2.0.0RC1)
PHP Version: 5.3.7 OS: ubuntu 11.04
Roadmaps: (Not assigned)    
Subscription  


 [2011-08-24 07:03 UTC] jeby6372 (Emmanuel Brunet)
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.

Comments

 [2011-08-24 13:31 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
Thanks, fixed in SVN. The method now throws an exception as was originally intended.