Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-401

FTP class uses BufferedReader for control channel, which does not follow the standard

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0
    • Component/s: FTP
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sebb@apache.org Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: