commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/NET-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved NET-401.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Changed to use CRLFLineReader

> 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
>             Fix For: 3.0
>
>
> 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