Closed Bug 305999 Opened 19 years ago Closed 19 years ago

addbook urls no longer work when clicking on vCards in mail

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird1.1

People

(Reporter: mscott, Assigned: mscott)

References

Details

(Keywords: fixed1.8, regression)

Attachments

(1 file)

Send an e-mail to yourself with a vCard.

Click on the add to address book button inside the vCard.

Note that we fail to run the addbook url, and fail to bring up the add to
address book dialog.
I believe this is another regression from Bug 244964. Should be easy to fix.

Boris, it looks like 244964 has caused a couple of regressions (Bug 302213, Bug
303336 and now this one). Maybe we should try to audit the code to see if there
are more situations like these. An lxr search on NewInputStreamChannel could be
a good start. 

Patch coming up for this scenario.

Status: NEW → ASSIGNED
Flags: blocking1.8b4+
Keywords: regression
Target Milestone: --- → Thunderbird1.1
Blocks: 244964
Attached patch the fixSplinter Review
x-application-addvcard --> application/x-addvcard
Attachment #193877 - Flags: review?(bzbarsky)
An lxr search showed quite a few mime types that are now broken after 244964
that problaby need updated:

http://lxr.mozilla.org/mozilla/search?string=x-application-
Comment on attachment 193877 [details] [diff] [review]
the fix

r=bzbarsky; I'd tried to look for content-type defines.... :(
Attachment #193877 - Flags: review?(bzbarsky) → review+
Attachment #193877 - Flags: superreview?(bienvenu)
> http://lxr.mozilla.org/mozilla/search?string=x-application-

I just checked and all the remaining ones are not passed to SetContentType that
I can see.  It might be a good idea to fix them, but since so many of these
should stop using a made-up type anyway and just do whatever it is they do from
the channel's AsyncOpen method, I think it'd make more sense to spend time on
that instead...
Attachment #193877 - Flags: superreview?(bienvenu) → superreview+
Comment on attachment 193877 [details] [diff] [review]
the fix

We need this patch on the branch to fix a regression introduced by Bug 244964.

Low risk, isolated change.
Attachment #193877 - Flags: approval1.8b4?
fixed on the trunk.
Attachment #193877 - Flags: approval1.8b4? → approval1.8b4+
thanks for the quick review and for verifying that the other content types
should be ok Boris.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: