这是indexloc提供的服务,不要输入任何密码
Skip to content

broken e-mail: space in unescaped filename param of Content-Disposition header #184

@maertsen

Description

@maertsen

I came across a broken e-mail that has a space in the filename parameters of a Content-Disposition header, like this:
Content-Disposition: inline; filename=Concur _1_.png

Now, this is not valid per https://www.rfc-editor.org/rfc/rfc2183.html#section-2 and https://www.rfc-editor.org/rfc/rfc2045#section-5.1, no space is allowed unless the filename is quoted, which it was not.

I'm filing this issue merely to document how this breaks, not with the expectation that a simple fix is possible:

Thunderbird seems to be able to deal with this brokenness, I have not checked how they do this.

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