You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/04/05 23:55:05 UTC
[jira] [Resolved] (NET-401) FTP class uses BufferedReader for
control channel, which does not follow the standard
[ 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