Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Text-vCard CPAN distribution.

Report information
The Basics
Id: 12382
Status: resolved
Priority: 0/
Queue: Text-vCard

People
Owner: Nobody in particular
Requestors: mirage [...] rateaprof.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.93
Fixed in: (no value)



Subject: Outlook vcard compatibility
Outlook uses lower case "begin:vcard" and lower case "end:vcard" tags. I suggest the following changes in Addressbook.pm::_process_text because I couldn't find anything in the RFC that suggested case sensitivity for the begin and end tags... sub _process_text { my($self,$text) = @_; # As data may handle \r - must ask richard $text =~ s/\r//g; # Add error checking here ? my $asData = Text::vFile::asData->new; $asData->preserve_params(1); my $data = $asData->parse_lines(split("\n",$text)); foreach my $card (@{$data->{'objects'}}) { # Run through each card in the data if($card->{'type'} =~ /VCARD/i) { # **JC - to regexp instead of eq VCARD
Fixed in version 1.94 - hitting CPAN now.