From acd1f7031497d836cd69aeffc8150c5140c1ed5f Mon Sep 17 00:00:00 2001 From: "ducarroz%netscape.com" Date: Sat, 22 Jan 2000 01:02:01 +0000 Subject: [PATCH] Bug 24705. OpenComposeWindowWithURI must not escape parameters before calling OpenComposeWindowWithValues since fix for bug 24301. R=ssptizer,jefft A=brendan@mozilla.org,jar,chofmann git-svn-id: svn://10.0.0.236/trunk@58372 18797224-902f-48f8-a5cc-f745e15eee43 --- .../mailnews/compose/src/nsMsgComposeService.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/mozilla/mailnews/compose/src/nsMsgComposeService.cpp b/mozilla/mailnews/compose/src/nsMsgComposeService.cpp index 049a608407c..31e48f862d4 100644 --- a/mozilla/mailnews/compose/src/nsMsgComposeService.cpp +++ b/mozilla/mailnews/compose/src/nsMsgComposeService.cpp @@ -181,14 +181,13 @@ NS_IMETHODIMP nsMsgComposeService::OpenComposeWindowWithURI(const PRUnichar * aM format = nsIMsgCompFormat::PlainText; //ugghh more conversion work!!!! - // and all our arguments must be escaped! - nsAutoString uniToPart = nsEscape(aToPart, url_Path); - nsAutoString uniCcPart = nsEscape(aCcPart, url_Path); - nsAutoString unicBccPart = nsEscape(aBccPart, url_Path); - nsAutoString uniNewsgroup = nsEscape(aNewsgroup, url_Path); - nsAutoString uniSubjectPart = nsEscape(aSubjectPart, url_Path); - nsAutoString uniBodyPart = nsEscape(aBodyPart, url_Path); - nsAutoString uniAttachmentPart = nsEscape(aAttachmentPart, url_Path); + nsAutoString uniToPart = aToPart; + nsAutoString uniCcPart = aCcPart; + nsAutoString unicBccPart = aBccPart; + nsAutoString uniNewsgroup = aNewsgroup; + nsAutoString uniSubjectPart = aSubjectPart; + nsAutoString uniBodyPart = aBodyPart; + nsAutoString uniAttachmentPart = aAttachmentPart; rv = OpenComposeWindowWithValues(aMsgComposeWindowURL, format, uniToPart.GetUnicode(), uniCcPart.GetUnicode(),