Bug #17480 [Opn]: Query for co.za multiple errors
| From: | ken at linux dot ie | Date: | Wed, 09 Jun 2010 17:43:55 +0000 |
| Subject: | Bug #17480 [Opn]: Query for co.za multiple errors | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3911@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17480&edit=1
ID: 17480
Updated by: ken@linux.ie
Reported By: hm2k at php dot net
Summary: Query for co.za multiple errors
Status: Open
Type: Bug
Package: Net_Whois
Package Version: SVN
PHP Version: 5.3.2
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: kguest
Previous Comments:
------------------------------------------------------------------------
[2010-06-09 17:20:23] hm2k
Added #patch
bug:17480;patch:added-getDomainServer--added-port-var;revision:1276104022;.
------------------------------------------------------------------------
[2010-06-09 17:00:14] hm2k
Description:
------------
A query for "co.za" results in errors.
Solution:
Change
$this->timeout
to
$this->_timeout
* Dns unable to resolve za.whois-servers.net
* Dns resolved co.za.whois-servers.net to 206.223.136.172
Better whois server lookup is required.
This also relates to bug #17478.
A patch will follow.
Expected result:
----------------
Incorrect Query
Actual result:
--------------
Notice: Undefined property: Net_Whois::$timeout in
.../Net_Whois/Whois.php on line 309
Unable to open socket
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17480&edit=1