Skip to content

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

Open
@respiranto

Description

@respiranto

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions