Home » Networking » Net_NNTP » Bug #1803
Retrieval of newsgroup descriptions fails
Details
| Submitted | 2004-07-06 06:32 UTC |
|---|---|
| From | heino at php dot net |
| Assigned | heino |
| Status | Closed |
| Package | Net_NNTP |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-07-06 06:32 UTC] heino at php dot net
Description:
------------
Net_NNTP_Protocol::cmdListNewsgroups() sends a postfixed space character in the 'LIST NEWSGROUPS' command. Not all servers like this, and may even reply that the command is unrecognized.
This affects both Net_NNTP::getGroups() and Net_NNTP_Realtime::getDescriptions().
[2004-07-06 09:09 UTC] mail at michael-schams dot de
In 'Net/NNTP/Protocol.php':
- $response = $this->_sendCommand('LIST NEWSGROUPS '.$wildmat);
+ $response = $this->_sendCommand('LIST NEWSGROUPS');
[2004-07-06 16:12 UTC] heino at gehlsen dot dk
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Net_NNTP
A patch was already committed before this bug was reported ;)