mangstadt/ez-vcard

[Compatibility] Treat KIND values case-insensitive

Closed this issue · 2 comments

There are clients/servers which set KIND:GROUP instead of KIND:group although RFC 6350 specifies "group" (lower-case) and values are case-sensitive.

For better compatibility, I suggest to make the equals() calls in Kind.is… case-insensitive:

public boolean isGroup() {
return GROUP.equals(value);
}

Fixed in acbeb66.

ez-vcard version 0.12.1 has been released, which includes this bug fix!