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

Strange race condition on vcf file with empty lines after NOTE: #56

Open
vijaysar opened this issue Nov 15, 2018 · 1 comment
Open

Strange race condition on vcf file with empty lines after NOTE: #56

vijaysar opened this issue Nov 15, 2018 · 1 comment

Comments

@vijaysar
Copy link

This is a very simple VCF file except for some reason it has empty lines after NOTE - perhaps from vCard export of outlook. This freezes with the simple script belo
Default_vcf.txt
w. Can you please fix this issue?

use Text::vCard::Addressbook;
$address_book = Text::vCard::Addressbook->new({'source_file' => "Default.vcf"});

Default.vcf (\r\n not shown)
BEGIN:VCARD
VERSION:3.0
PRODID:Z-Push
FN:Microsoft Cunningham
N:Cunningham;Microsoft;;Marcie CIV;
EMAIL;PREF=1:[email protected]
TEL;TYPE=HOME,VOICE:(901) 225-8634
NOTE:

UID:C191AD2C-8658-49B0-9929-995B4A62396E
X-RADICALE-NAME:C191AD2C-8658-49B0-9929-995B4A62396E.vcf
END:VCARD

@ranguard
Copy link
Owner

Hi,

I'm not actively working on this project - but I'd take a pull request (with test).

Thanks

Leo

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

No branches or pull requests

2 participants