зеркало из https://github.com/mozilla/pjs.git
Bug #371792 --> JS Error when opening .EML file. patch by mcow@well.com sr=mscott
This commit is contained in:
Родитель
b0f2a948a4
Коммит
073af446e9
|
@ -97,11 +97,10 @@ var gPhishingDetector = {
|
||||||
var folder;
|
var folder;
|
||||||
try {
|
try {
|
||||||
folder = aUrl.folder;
|
folder = aUrl.folder;
|
||||||
|
if (folder.server.type == 'nntp' || folder.server.type == 'rss')
|
||||||
|
return;
|
||||||
} catch (ex) {}
|
} catch (ex) {}
|
||||||
|
|
||||||
if (folder.server.type == 'nntp' || folder.server.type == 'rss')
|
|
||||||
return;
|
|
||||||
|
|
||||||
// extract the link nodes in the message and analyze them, looking for suspicious URLs...
|
// extract the link nodes in the message and analyze them, looking for suspicious URLs...
|
||||||
var linkNodes = document.getElementById('messagepane').contentDocument.links;
|
var linkNodes = document.getElementById('messagepane').contentDocument.links;
|
||||||
for (var index = 0; index < linkNodes.length; index++)
|
for (var index = 0; index < linkNodes.length; index++)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче