Skip to content

feat: Check if the MP header contains invalid character #3225

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

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

airween
Copy link
Member

@airween airween commented Aug 13, 2024

what

Check MULTIPART HEADER if it contains any illegal characters. If there are any of these characters, variable REQBODY_ERROR will set.

why

MULTIPART HEADERS can't contain any characters outside of interval between 33 and 126, and 58 (: - this is the separator).

references

RFC 2045 refers RFC 822 about the header syntax.

@airween airween requested a review from marcstern August 13, 2024 17:18
@airween airween added the 3.x Related to ModSecurity version 3.x label Aug 13, 2024
@airween airween changed the title Check if the MP header contains invalid character feat: Check if the MP header contains invalid character Aug 13, 2024
Copy link

@airween airween merged commit a6b287e into owasp-modsecurity:v3/master Aug 14, 2024
49 checks passed
airween added a commit to airween/ModSecurity that referenced this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants