Skip to content

params is empty if multipart request boundary is incorrect #761

@tinexw

Description

@tinexw

params in request.rb is empty if a multipart request ends with an incorrect boundary e.g. with -9e923a4c2c2cbc9dd5f104b02ec111df- and the header contains Content-Type: multipart/form-data; =-6f88629f6762cfcdcdbe4b9c0156a786. This is caused by the fact that params catches EOFError. Is there a specific reason that the exception is not propagated?

I'm using 1.6.0.beta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions