commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-401) FTP class uses BufferedReader for control channel, which does not follow the standard
Date Tue, 05 Apr 2011 11:19:05 GMT
FTP class uses BufferedReader for control channel, which does not follow the standard
-------------------------------------------------------------------------------------

                 Key: NET-401
                 URL: https://issues.apache.org/jira/browse/NET-401
             Project: Commons Net
          Issue Type: Bug
          Components: FTP
    Affects Versions: 2.2
            Reporter: Sebb


The FTP class uses BufferedReader for wrapping the control channel, and uses its readLine()
for getting responses from the server.

The FTP protocol requires CRLF at the end of lines, but Bufferedreader#readLine() also allows
bare CR and LF terminators, which could potentially be included in a server reply.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message