Closed Bug 16992 Opened 25 years ago Closed 25 years ago

Multipart related messages are duplicating body text

Categories

(MailNews Core :: MIME, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rhp, Assigned: rhp)

Details

Attachments

(1 file)

This is caused by the differences in behavior of nsString and nsCString. if you
do the following:

nsString me;

me.Append("this is a fun buffer", 0);

it will do the right thing and append nothing. BUT, an nsCString appends the
entire string.

It's an easy fix that I will attach to this bug report.

Scott, can you review it for me.
Status: NEW → ASSIGNED
Target Milestone: M11
Attached patch The fixSplinter Review
Hmm it confuses me since both nsCString and nsString share the same
implementation (as to why using one or the other would make a difference).

But your addition looks harmless so if it fixes something then I say go for it
=).
adding esther to cc: list.  Esther - this is what you were mentioning to me
today. No need to file a bug :-)
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This should be all better now.

- rhp
QA Contact: lchiang → pmock
changing QA assigned to myself
Status: RESOLVED → VERIFIED
Verified as fixed on win32, macos, and linux using the following builds:
ftp://sweetlou/products/client/seamonkey/windows/32bit/x86/1999-12-21-09-M13/sea
monkey32e.exe
ftp://sweetlou/products/client/seamonkey/unix/linux_glibc/2.2/x86/1999-12-21-08-
M13/netscape-i686-pc-linux-gnu.tar.gz
ftp://sweetlou/products/client/seamonkey/macos/8.x/ppc/1999-12-21-08-M13/NSMacIn
staller-M13.sea.bin

I tested using a multi-related mail message.  The text was not duplicated.
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

Creator:
Created:
Updated:
Size: