sabre-io / vobject

:date: The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects
http://sabre.io/vobject/
BSD 3-Clause "New" or "Revised" License
570 stars 125 forks source link

vCard v2.1 parsing: BINARY value type recognized #683

Open respiranto opened 2 weeks ago

respiranto commented 2 weeks ago

version: 4.5.5

When parsing v2.1 data, VALUE=BINARY is recognized if specified explicitly or implicitly if the property type is PHOTO or LOGO (see also #676). Most importantly, this means that data is base64-decoded / base64-encoded--regardless of whether ENCODING=BASE64 is also present.

vCard version 2.1 apparently does not have a value type BINARY. Futhermore, the ENCODING parameter is valid for all property types.

I would expect for v2.1 that