Skip to content

Laminas mail expects a value in the format "type/subtype"; received "image/*" #119

Open
@lfardin

Description

@lfardin

Issue detected when using GLPI Mailgate glpi-project/glpi#8375 to get messages with attached files "image/*"

To fix this issue, the RegEx at the file "laminas-mail/src/Header/ContentType.php", line 114 should be changed to

/^[a-z-]+/[/*a-z0-9.+-]+$/i

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions