Skip to content

extend reporting of broken Content-Type headers #181

@albrechtd

Description

@albrechtd

I recently got several (malspam) messages with broken Content-Type headers like

Content-Type: text/Here comes some crap

GMime reports the content type as text/Here, but does not report the header as being invalid. Using the attached patch detect-broken-content-type.patch, the warning is emitted as expected (I guess there is a plethora of other, yet undetected, cases, though…).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions