Bug 1572864 - Backed out changeset 1c5dad422769 to make way for a different solution. a=backout
This commit is contained in:
Родитель
1033dbbe21
Коммит
0765d7b06f
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче