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/06 00:05:05 UTC

[jira] [Updated] (NET-402) BufferedReader used for control channel, which does not follow the standard

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

Sebb updated NET-402:
---------------------

    Component/s:     (was: FTP)
    Description: 
BufferedReader is used for wrapping the control channel, and uses its readLine() for getting responses from the server.

The IMAP, NNTP, POP3 and SMTP protocols require 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.

  was:
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.


> BufferedReader used for control channel, which does not follow the standard
> ---------------------------------------------------------------------------
>
>                 Key: NET-402
>                 URL: https://issues.apache.org/jira/browse/NET-402
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Sebb
>             Fix For: 3.0
>
>
> BufferedReader is used for wrapping the control channel, and uses its readLine() for getting responses from the server.
> The IMAP, NNTP, POP3 and SMTP protocols require 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