зеркало из https://github.com/mozilla/gecko-dev.git
Bug 357321 don't blindly trust address book recipients when loading remote content - Fix msgHdrForCurrentMessage patch
r=mscott
This commit is contained in:
Родитель
511ee0cc75
Коммит
60ab054c49
|
@ -2303,8 +2303,7 @@ function loadMsgWithRemoteContent()
|
|||
function msgHdrForCurrentMessage()
|
||||
{
|
||||
var msgURI = GetLoadedMessage();
|
||||
if (msgURI && !(/type=application\/x-message-display/.test(msgURI)))
|
||||
return (msgURI && !(/type=application\/x-message-display/.test(msgURI))) ? messenger.msgHdrFromURI(msgURI) : null;
|
||||
return (msgURI && !(/type=application\/x-message-display/.test(msgURI))) ? messenger.msgHdrFromURI(msgURI) : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче