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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 3.0
    • FTP
    • 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

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: