Closed rfc2822 closed 1 year ago
There are clients/servers which set KIND:GROUP instead of KIND:group although RFC 6350 specifies "group" (lower-case) and values are case-sensitive.
KIND:GROUP
KIND:group
For better compatibility, I suggest to make the equals() calls in Kind.is… case-insensitive:
equals()
Kind.is…
https://github.com/mangstadt/ez-vcard/blob/b8f0a18cad11ed6172e1c7e18b6d78f07fe4fabf/src/main/java/ezvcard/property/Kind.java#L114-L116
Fixed in https://github.com/mangstadt/ez-vcard/commit/acbeb6613e155918a90673977b4e94a360252fb1.
ez-vcard version 0.12.1 has been released, which includes this bug fix!
There are clients/servers which set
KIND:GROUP
instead ofKIND:group
although RFC 6350 specifies "group" (lower-case) and values are case-sensitive.For better compatibility, I suggest to make the
equals()
calls inKind.is…
case-insensitive:https://github.com/mangstadt/ez-vcard/blob/b8f0a18cad11ed6172e1c7e18b6d78f07fe4fabf/src/main/java/ezvcard/property/Kind.java#L114-L116