Home » Networking » Net_Server » Bug #3054
Incorrectly reads the line-end character
Details
| Submitted | 2004-12-29 19:08 UTC |
|---|---|
| From | FarazAli at gmail dot com |
| Assigned | cweiske |
| Status | Closed |
| Package | Net_Server |
| PHP Version | 4.3.5 |
| OS | Windows 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) == '')