Skip to content

Multipart boundary parsing as per RFC #1821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

allanbomsft
Copy link

Update the multipart parser to allow characters in boundaries as per RFC2046 page 21.

@zimmerle zimmerle self-requested a review June 27, 2018 22:19
@zimmerle zimmerle self-assigned this Jun 27, 2018
@zimmerle zimmerle added the 2.x Related to ModSecurity version 2.x label Jun 27, 2018
@victorhora
Copy link
Contributor

This would fix #653?

@victorhora
Copy link
Contributor

According to the RFC2046 page 22, indeed the parser seemed to be more strict than it should. I believe this is safe to be merged.

As I'm not a fan of writing test cases for v2 (:P), I've written a test case for v3 and adapted this patch at #1955.

@zimmerle
Copy link
Contributor

merged ;) thanks.

@zimmerle zimmerle closed this Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to ModSecurity version 2.x enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants