Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vCard continuation lines ignored #38

Open
andy-bower opened this issue Nov 27, 2024 · 0 comments · May be fixed by #39
Open

vCard continuation lines ignored #38

andy-bower opened this issue Nov 27, 2024 · 0 comments · May be fixed by #39

Comments

@andy-bower
Copy link
Contributor

A vCard line may be 'folded' across multiple continuation lines by inserting CRLF WSP (in the syntax of RFC6350). If this sequence features in a vCard retrieved by mcds, only data from the first line is used. This is likely to be relevant when postal addresses are retrieved on the command line for convenience, e.g.:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.5.4//EN
UID:95d439db-4c43-47d3-99d8-ca286c61a2aa
FN:Test Contact
ADR;TYPE=HOME:A very long address;Requiring multiple continuation lines;Tak
 ing several lines and;In a very very big city somewhere;in a huge ginormou
 s province;DSFH324324HFDSH 43432;of the land over the water\, up in the sk
 y and millions of light years away
END:VCARD

Regex for query term: ^FN([A-Za-z;=])*:(.*test.*)
Regex for search term: ADR(.*):(.*)
A very long address;Requiring multiple continuation lines;Tak	Test Contact
@andy-bower andy-bower linked a pull request Nov 27, 2024 that will close this issue
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 a pull request may close this issue.

1 participant