geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski (JIRA)" <...@geronimo.apache.org>
Subject [jira] Resolved: (GERONIMO-1673) SMTPTransport is not performing byte-stuffing and newline canonicalization on message data.
Date Sat, 04 Mar 2006 11:29:58 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1673?page=all ]
     
Jacek Laskowski resolved GERONIMO-1673:
---------------------------------------

    Fix Version: 1.x
     Resolution: Fixed
      Assign To: Jacek Laskowski

Committed as revision 383090. Thanks Rick!

Additional notes:
 * Add @version javadoc tag
 * svn propset svn:keywords 'Rev Date' on patched files when applicable
 * Copyright ought to be set to the year of the file inception (it may contain the following
years, too, but it's not mandatory)


> SMTPTransport is not performing byte-stuffing and newline canonicalization on message
data.
> -------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1673
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1673
>      Project: Geronimo
>         Type: Bug
>   Components: mail
>     Versions: 1.x
>     Reporter: Rick McGuire
>     Assignee: Jacek Laskowski
>      Fix For: 1.x
>  Attachments: GERONIMO-1673.patch
>
> The MIME spec requires that all message line breaks be converted into proper CRLF sequence
(linebreak canonicalization) and that any period at the beginning of a line be "byte-stuffed"
(two periods written out instead of one).  The current SMTPTransport is just takes the message
data as is.  The byte-stuffing is particularly important, since this prevents periods within
the message from being mistaken with the DATA command terminator string.  This fault can cause
message truncation. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message