PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_NNTP » Bug #1803

Retrieval of newsgroup descriptions fails

Details

Submitted2004-07-06 06:32 UTC
Fromheino at php dot net
Assignedheino
StatusClosed
PackageNet_NNTP
PHP VersionIrrelevant
OSIrrelevant
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 ;)