Open Bug 60936 Opened 24 years ago Updated 2 years ago

treat Content-Type text/directory; profile=vCard as vCard content RFC2425

Categories

(MailNews Core :: MIME, enhancement, P3)

enhancement

Tracking

(Not tracked)

Future

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Keywords: good-first-bug)

Attachments

(2 obsolete files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; N; PPC; en-US; m18) Gecko/20001121 BuildID: 2000112108 Content of type text/directory; profile=vCard should be recognized as a vCard object and handled the same way as content of type text/x-vcard. RFC 2425 establishes the text/directory MIME type. Reproducible: Always Steps to Reproduce: View a vCard attachment whose MIME type is set to text/directory; profile=vCard instead of text/x-vcard Actual Results: attachment is displayed as raw text Expected Results: attachment should be displayed with fancy vCard formatting http://www.ietf.org/rfc/rfc2425.txt
Seems to display the same as in IE, at least on build 2000121112...
This is a RFE changing summary and marking NEW.
Severity: minor → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac System 9.x → All
Hardware: Macintosh → All
Summary: Content-Type text/directory; profile=vCard should be recognized as vCard content → [RFE] Content-Type text/directory; profile=vCard should be recognized as vCard content
reassigning to ducarroz.
Assignee: putterman → ducarroz
For correctness, Mozilla should use the correct MIME type (text-directory; profile=vCard) for writing/sending vCards too (Mozilla currently uses text/x-vcard). Would this break compatibility with 4.x or other third-party applications?
Keywords: mozilla1.0
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Target Milestone: mozilla1.0 → Future
Keywords: mozilla1.0mozilla1.1
Keywords: mozilla1.1mozilla1.2
Keywords: mozilla1.2mozilla1.3
re-assign to sspitzer
Assignee: GotFrenchFries → sspitzer
Status: ASSIGNED → NEW
Yes, this would break comapatibility with all old applications. So conservative solution would be to add "text/directory; profile=vcard" as an alternative for text/x-vcard in order to make mozilla recognize new applications (pine) and prepare it for future switch to standardised content type. It may happen quickly--in similar case of application/x-pkcs12 versus application/pkcs12 Microsoft's Outlook switched and all old applications were in problems. One step further (not knowing if it is worthy work) would be to add prefs.js option, tnat would have three values--version default (compiled in a binary), text/x-vcard and text/directory; profile="vcard". This would allow a switch for people who are not dependig on readability of their vCards (personal use, maybe) and give those "developers" who do not read standards, but only study data going through the Internet, the idea that text/directory exists.
Flags: blocking1.8a?
Keywords: mozilla1.3
Summary: [RFE] Content-Type text/directory; profile=vCard should be recognized as vCard content → [RFE] treat Content-Type text/directory; profile=vCard as vCard content
Flags: blocking1.8a? → blocking1.8a-
I don't have a full build system so I was not able to test this patch to see whether it builds and works properly.
Comment on attachment 150612 [details] [diff] [review] proposed UNTESTED patch to recognize MIME type application/directory; profile=vCard as vCard content patch untested
Attachment #150612 - Flags: review?(mscott)
Attachment #150612 - Attachment is obsolete: true
Attachment #150612 - Flags: review?(mscott)
corrected version of patch, still untested
Attachment #150646 - Flags: review?(mscott)
Attachment #150646 - Flags: review?(mscott)
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Comment on attachment 150646 [details] [diff] [review] proposed UNTESTED patch to recognize MIME type application/directory; profile=vCard as vCard content patch is obsolete and was never tested anyway
Attachment #150646 - Attachment is obsolete: true
Whiteboard: [good first bug]
Component: Address Book → MailNews: MIME
Product: Mozilla Application Suite → Core
(Jim, contact me offline) related Bug 29106 - vCard in address book RFC2426
Summary: [RFE] treat Content-Type text/directory; profile=vCard as vCard content → treat Content-Type text/directory; profile=vCard as vCard content RFC2425
Blocks: 222971
Assignee: mail → nobody
QA Contact: esther → mime
Product: Core → MailNews Core
from http://en.wikipedia.org/wiki/VCard >The standard Internet media type for a vCard (often referred to as its mime type) >is:[1] > text/vcard >As of version 4.0 specification, other media types known to have been used >previously are now deprecated, including:[1] > text/x-vcard > text/directory;profile=vCard > text/directory >[1] http://tools.ietf.org/html/rfc6350
in the spirit of being conservative about what we generate and liberal about what we accept, we should handle the deprecated type and display the v-card.
Keywords: good-first-bug
Whiteboard: [good first bug]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: