Skip to content

Multipart Invalid boundary in C-T (characters) error thrown when charset follows boundary element in CT header #1900

@bitsofinfo

Description

@bitsofinfo

If a this Content Type header is sent the error Multipart: Invalid boundary in C-T (characters) is thrown
Content-Type: multipart/form-data; boundary=09WYPQJGmFFxPW2w0gbsmeeo3AX45nRC-; charset=UTF-8

If this Content Type header is sent: the error Multipart: Invalid boundary in C-T (characters) is NOT thrown
Content-Type: multipart/form-data; charset=UTF-8; boundary=09WYPQJGmFFxPW2w0gbsmeeo3AX45nRC-

https://github.com/SpiderLabs/ModSecurity/blob/f66cd4111f08a26d4429cb0071e992deb050928a/apache2/msc_multipart.c#L893

Metadata

Metadata

Labels

2.xRelated to ModSecurity version 2.x3.xRelated to ModSecurity version 3.x

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions