Skip to content

fix: prefer IANA vCard extensions - #470

Open
vibhor-aggr wants to merge 1 commit into
jshttp:masterfrom
vibhor-aggr:fix/iana-vcard-extension
Open

fix: prefer IANA vCard extensions#470
vibhor-aggr wants to merge 1 commit into
jshttp:masterfrom
vibhor-aggr:fix/iana-vcard-extension

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Fixes #388.

This updates the IANA import path so text/vcard receives the registered .vcf and .vcard extensions from the current IANA registration instead of leaving .vcf only on the deprecated Apache text/x-vcard entry.

The parser change is intentionally narrow: it handles IANA's vCard registration format where File extension(s): .vcf .vcard appears after other text, while preserving the existing numbered-extension handling used by other records.

Verification:

  • npm run build
  • npm test
  • npm run lint
  • git diff --check
  • parser sanity check for .vcf .vcard and numbered ComicBook extension formats

IANA reference: https://www.iana.org/assignments/media-types/text/vcard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vcard / vcf mime type using Apache instead of IANA

1 participant