PEAR is archived and read-only

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

Home » Networking » Net_Server » Bug #3054

Incorrectly reads the line-end character

Details

Submitted2004-12-29 19:08 UTC
FromFarazAli at gmail dot com
Assignedcweiske
StatusClosed
PackageNet_Server
PHP Version4.3.5
OSWindows XP
Roadmaps(Not assigned)

Comments

[2004-12-29 19:08 UTC] FarazAli at gmail dot com

Description:
------------
in Net/Server/Driver.php (Line: 202), the script incorrectly reads in the end character; everytime I press space when connected to the server through telnet, it would be interpreted as the end char.

It should read as follows:
NEW: if (trim($buf) == $this->readEndCharacter)
OLD: if (trim($buf) === '')

[2005-01-29 17:02 UTC] FarazAli at gmail dot com

in Net/Server/Driver.php (Line: 202), the script incorrectly reads in
the end character; everytime I press space when connected to the server
through telnet, it would be interpreted as the end char.

It should read as follows:
NEW: if (trim($buf) == $this->readEndCharacter)
OLD: if (trim($buf) == '')