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 validation: Invalid value type should report an error #682

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

vCard validation: Invalid value type should report an error #682

respiranto opened this issue Sep 19, 2024 · 0 comments

Comments

@respiranto
Copy link

Version: 4.5.5

For v3.0 and v4.0, the value type is restricted for many (all?) predefined types.
For v2.1, the value type is only globally restricted.

Some value types (e.g., invalid) cause an \Sabre\VObject\InvalidDataException (apparently regardless of the property type).

Examples (v4.0):

  • FN;VALUE=URI:example (only TEXT should be allowed)
  • SOUND;VALUE=TEXT:example (only URI should be allowed)
@respiranto respiranto changed the title validation: Invalid value type should report an error vCard validation: Invalid value type should report an error 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