From 0765d7b06f71e6351a919a7e8642672130d59ea6 Mon Sep 17 00:00:00 2001 From: Jorg K Date: Tue, 20 Aug 2019 19:27:23 +0200 Subject: [PATCH] Bug 1572864 - Backed out changeset 1c5dad422769 to make way for a different solution. a=backout --- mailnews/compose/src/nsMsgCompose.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mailnews/compose/src/nsMsgCompose.cpp b/mailnews/compose/src/nsMsgCompose.cpp index 480627f858..95c6c03b42 100644 --- a/mailnews/compose/src/nsMsgCompose.cpp +++ b/mailnews/compose/src/nsMsgCompose.cpp @@ -265,12 +265,7 @@ bool nsMsgCompose::IsEmbeddedObjectSafe(const char *originalScheme, nsAutoCString path; rv = uri->GetPathQueryRef(path); if (NS_SUCCEEDED(rv)) { - // For mailbox: and JS Account URLs, the original path contains - // ?number=NN, so let's transfer this over before comparing. - nsCString msgNumber = MsgExtractQueryPart(path, "number="); MsgRemoveQueryPart(path); - if (!msgNumber.IsEmpty()) - path += NS_LITERAL_CSTRING("?") + msgNumber; // If this object is a part of the original message, we can send it // safely. return path.Equals(originalPath,