bugClasspath Extensions - Bugs: bug #41383, SMTP client adds extra message line

 
 

bug #41383: SMTP client adds extra message line

Submitted by:  Conrad T. Pino <conradpino>
Submitted on:  Wed 29 Jan 2014 10:01:38 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: In Progress
Privacy: PublicAssigned to: Conrad T. Pino <conradpino>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 Jan 2014 11:37:33 AM UTC, comment #1:

This issue is resolved by these patches:

https://savannah.gnu.org/patch/?8296
https://savannah.gnu.org/patch/?8299

Conrad T. Pino <conradpino>
Project MemberIn charge of this item.
Wed 29 Jan 2014 10:01:38 AM UTC, original submission:

The gnu.inet.smtp.SMTPConnection.finishData method always emits "<CRLF>.<CRLF>" sequence contrary to RFC 5321 Section 4.1.1.4 DATA (DATA) which reads in part:

The first <CRLF> of this terminating sequence is also the <CRLF> that ends the final line of the data (message text) or, if there was no mail data, ends the DATA command itself ...

An extra <CRLF> MUST NOT be added, as that would cause an empty line to be added to the message.

https://tools.ietf.org/html/rfc5321#section-4.1.1.4
https://tools.ietf.org/html/rfc5321#section-4.5.2

Conrad T. Pino <conradpino>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by conradpino (Submitted the item)
  • -unavailable- added by conradpino
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Jan 2014 10:01:38 AM UTCconradpinoCarbon-Copy-=>Added dog

    Back to the top


    Powered by Savane 3.1-cleanup