Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vCard v3.0 validation: VALUE=BINARY not restricted #681

Open
respiranto opened this issue Sep 19, 2024 · 0 comments
Open

vCard v3.0 validation: VALUE=BINARY not restricted #681

respiranto opened this issue Sep 19, 2024 · 0 comments

Comments

@respiranto
Copy link

Version: 4.5.5

Per RFC 2426, the BINARY value type is only permitted for PHOTO, LOGO, SOUND, and KEY.

It should, thus, cause an error reporting with validate(), but does not (unlike the ENCODING parameter, which is equally restricted).

Example:

BEGIN:VCARD
VERSION:4.0
N:Doe;Jane;;;
FN:Jane Doe
NOTE;TYPE=BINARY:ZXhhbXBsZQ==
@respiranto respiranto changed the title v3.0 validation: VALUE=BINARY not restricted vCard v3.0 validation: VALUE=BINARY not restricted Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant