Skip to content

Case problem with begin and end tags #35

@surruk51

Description

@surruk51

If the vcf file contains
begin:vcard
end:vcard

(e.g as exported by Thunderbird) instead of

BEGIN:VCARD
END:VCARD

it fails because it tries to split the file using:
$this -> RawData = explode( 'BEGIN:VCARD', $this -> RawData);

This can be fixed by changing line 132 of vcard.php to
$this -> RawData = preg_split('{^BEGIN:VCARD}miS', $this -> RawData);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions