Bug 27743 - MIME type for vCard should be updated to text/vcard
Summary: MIME type for vCard should be updated to text/vcard
Status: RESOLVED DUPLICATE of bug 21680
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 15:12 UTC by Jong Yoon Lee
Modified: 2011-05-25 07:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jong Yoon Lee 2010-04-19 15:12:56 UTC
text/vcard MIME type for vCard 3.0 is pending IANA acceptance and it is already in use by CardDAV.  text/vcard should be used instead of text/x-vcard or text/directory.

http://tools.ietf.org/search/draft-ietf-vcarddav-vcardrev-10#section-10

http://tools.ietf.org/search/draft-ietf-vcarddav-carddav-10#section-6.2.2
Comment 1 Bastien Nocera 2010-09-30 09:32:51 UTC
Do you have a patch for those changes?
Comment 2 Jong Yoon Lee 2010-09-30 10:00:21 UTC
Sorry I don't have the actual patch.  I'm working it around from magic and globs files.  The change will involve something along the line of the following, although it might be missing something.  This is untested.

*** freedesktop.org.xml	2009-02-21 06:08:16.000000000 -0800
--- freedesktop.org.xml.new	2010-09-30 09:57:17.000000000 -0700
***************
*** 16328,16340 ****
      <glob pattern="*.css"/>
      <glob pattern="*.CSSL"/>
    </mime-type>
!   <mime-type type="text/directory">
      <comment>electronic business card</comment>
      <comment xml:lang="da">elektronisk visitkort</comment>
      <comment xml:lang="eo">elektronika vizitkarto</comment>
      <comment xml:lang="pt">cartão de visita electrónico</comment>
      <comment xml:lang="sq">kartë elektronike biznesi</comment>
      <comment xml:lang="zh_CN">电子商务卡</comment>
      <alias type="text/x-vcard"/>
      <sub-class-of type="text/plain"/>
      <magic priority="50">
--- 16328,16341 ----
      <glob pattern="*.css"/>
      <glob pattern="*.CSSL"/>
    </mime-type>
!   <mime-type type="text/vcard">
      <comment>electronic business card</comment>
      <comment xml:lang="da">elektronisk visitkort</comment>
      <comment xml:lang="eo">elektronika vizitkarto</comment>
      <comment xml:lang="pt">cartão de visita electrónico</comment>
      <comment xml:lang="sq">kartë elektronike biznesi</comment>
      <comment xml:lang="zh_CN">电子商务卡</comment>
+     <alias type="text/directory"/>
      <alias type="text/x-vcard"/>
      <sub-class-of type="text/plain"/>
      <magic priority="50">
Comment 3 Bastien Nocera 2011-05-25 07:17:37 UTC
Bug 21680 deals with vcards as well.

*** This bug has been marked as a duplicate of bug 21680 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.