Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Validator][Mime] add a Constraint to check if string is valid mime type? #59015

Closed as not planned
@Hanmac

Description

@Hanmac

Description

I got a BinaryObjectType class, with having xsd:base64Binary as text value, and mimeCode attribute.

Now, I would like to check if mimeCode is a valid mime type.

Maybe in strict mode, check against MimeTypes::MAP?

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions