You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/12/23 07:07:03 UTC

[jira] Created: (JAMES-1152) ExtraDotInputStream MAY skip the first char of line which cause RetrCmdHandler to send incorrect data

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

                 Key: JAMES-1152
                 URL: https://issues.apache.org/jira/browse/JAMES-1152
             Project: JAMES Server
          Issue Type: Bug
          Components: POP3Server
    Affects Versions: 3.0-M3
            Reporter: Norman Maurer
            Assignee: Norman Maurer
            Priority: Critical
             Fix For: 3.0-M3


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-1152) ExtraDotInputStream MAY skip the first char of line which cause RetrCmdHandler to send incorrect data

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1152.
----------------------------------

    Resolution: Fixed

Fixed.. thanks for reporting:

http://svn.apache.org/viewvc?view=revision&revision=1052176
http://svn.apache.org/viewvc?view=revision&revision=1052179



> ExtraDotInputStream MAY skip the first char of line which cause RetrCmdHandler to send incorrect data
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-1152
>                 URL: https://issues.apache.org/jira/browse/JAMES-1152
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: POP3Server
>    Affects Versions: 3.0-M3
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>            Priority: Critical
>             Fix For: 3.0-M3
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org