Open RobSlgm opened 2 weeks ago
Thanks for posting this issue.
To keep things simple, in version 1.4.4 I decided to only support UID properties whose value can be converted to Guid instances. Looking back, that probably wasn't the best decision.
You are right: The IDProperty class should support free-form text as well as URIs and UUIDs and should apply different comparison rules depending on the content. (This would of course have side effects on the handling of the vCard properties MEMBER
and RELATED
.)
Unfortunately, all of this cannot be implemented without API changes, so it will have to wait until the next major release.
Describe the bug
UID of some VCARD 3.0 items are not properly recognized.
To Reproduce
Expected behavior
see https://datatracker.ietf.org/doc/html/rfc6350#section-6.7.6, UID --> "Free-form text MAY also be used."
To avoid breaking the current UID UUID typing, maybe offer the original unmodified UID in a separate property