Closed Bug 219204 Opened 23 years ago Closed 22 years ago

sending message adds line break at its end

Categories

(MailNews Core :: Networking: NNTP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ch.ey, Assigned: ch.ey)

Details

Attachments

(1 file)

When sending a message via NNTP, Mozilla adds a line break at it's end. RFC 977 says "A single line containing only a period (.) is sent to indicate the end of the text (i.e., the server will send a CR-LF pair at the end of the last line of text, a period, and another CR-LF pair)." So, we're sending one extra CRLF before the period, where we shouldn't (related to bug 163783).
Attached patch proposed patch — — Splinter Review
Patch removing the <crlf> before the period in message to post and cancel message.
Attachment #131450 - Flags: review?(scott)
Comment on attachment 131450 [details] [diff] [review] proposed patch ditto my comments in bug #163783.
Attachment #131450 - Flags: review?(scott) → review+
fixed
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: