nuovo / vCard-parser

Easier and more concise vCard (.vcf) parser for PHP
http://nuovo.lv/
MIT License
126 stars 56 forks source link

Wrong parsing of "adr" field #22

Open renesprringmann opened 11 years ago

renesprringmann commented 11 years ago

TYPE=WORK:;extended;street 1;city;state;zip;country

is parsed to

Array ( [POBox] => [ExtendedAddress] => extended [StreetAddress] => street [Locality] => 1 [Region] => city [PostalCode] => state [Country] =>zip [Type] => Array ( [0] => work ) )

If parsed without extended everything is in place. But when extended is given the street is split and the house-number is set as locality.