Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1152

ExtraDotInputStream MAY skip the first char of line which cause RetrCmdHandler to send incorrect data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0-beta3
    • 3.0-beta3
    • POP3Server
    • None

    Description

      ExtraDotInputStream does skip the first char of a line if the previous line is empty which cause RetrCmdHandler to send back incorrect data to the client

      From ML:
      This is causing the first character of email body to be consumed.
      session.writeStream(new ExtraDotInputStream(in));

      If I quick and dirty replace with
      session.writeStream( in );

      It then works OK.

      To test I simply send a plain text email with body ABCD, and what I receive
      is BCD.

      Attachments

        Issue Links

          Activity

            People

              norman Norman Maurer
              norman Norman Maurer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: