Closed
Bug 307024
Opened 19 years ago
Closed 19 years ago
named named anchor links cause exception in phishingDetector.js :: isPhishingURL
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird1.1
People
(Reporter: mkmelin, Assigned: mscott)
Details
(Keywords: fixed1.8)
Attachments
(2 files)
|
75.91 KB,
message/rfc822
|
Details | |
|
602 bytes,
patch
|
mscott
:
review+
mscott
:
superreview+
|
Details | Diff | Splinter Review |
Loading a message that contains a remote image throws an exception. Error: [Exception... "Component returned failure code: 0x804b000a [nsIIOService.newURI]" nsresult: "0x804b000a (<unknown>)" location: "JS frame :: chrome://messenger/content/phishingDetector.js :: isPhishingURL :: line 64" data: no] Source File: chrome://messenger/content/phishingDetector.js Line: 64 I see this using version 1.5 Beta 1 (20050903) and going back to at least start of april. But not in thunderbird 1.0.x.
| Reporter | ||
Comment 1•19 years ago
|
||
When opening this example mail as a standalone message there are a lot of other exceptions also. They don't appear loading it from the mailbox though.
Updated•19 years ago
|
Summary: loading message with remote image throws exception in phishingDetector.js :: isPhishingURL → loading message with remote image throws exception in phishingDetector.js :: isPhishingURL
In the function isPhishingURL, does adding, after var href = aLinkNode.href; : if (!href) return false; fix it?
| Reporter | ||
Comment 3•19 years ago
|
||
(In reply to comment #2) > In the function isPhishingURL, does adding, after var href = aLinkNode.href; : > > if (!href) > return false; > > fix it? Yep, thanks. Patch coming up.
Summary: loading message with remote image throws exception in phishingDetector.js :: isPhishingURL → named named anchor links cause exception in phishingDetector.js :: isPhishingURL
| Reporter | ||
Comment 4•19 years ago
|
||
This fixes it. No exceptions for when loaded from mailbox.
Attachment #195044 -
Flags: review?(mscott)
| Assignee | ||
Comment 5•19 years ago
|
||
Comment on attachment 195044 [details] [diff] [review] proposed fix thanks for the patch
Attachment #195044 -
Flags: superreview+
Attachment #195044 -
Flags: review?(mscott)
Attachment #195044 -
Flags: review+
| Assignee | ||
Comment 6•19 years ago
|
||
fixed branch and trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.1
You need to log in
before you can comment on or make changes to this bug.
Description
•