Skip to content

feat: add support for enforce_bodyproc_urlencoded config option#151

Merged
EsadCetiner merged 4 commits into
coreruleset:mainfrom
EsadCetiner:feat-support-forcing-body-processor
May 17, 2026
Merged

feat: add support for enforce_bodyproc_urlencoded config option#151
EsadCetiner merged 4 commits into
coreruleset:mainfrom
EsadCetiner:feat-support-forcing-body-processor

Conversation

@EsadCetiner
Copy link
Copy Markdown
Member

This PR adds support for users enabling the enforce_bodyproc_urlencoded option which closes a possible bypass of CRS by making sure a body parser is always activated.

There are a few cases where this behavior isn't desirable, this PR disables that config option in cases where it's not desirable.

I haven't updated the readme yet to avoid confusing existing users, I'll update it on the next release on the plugin.

I've been testing this for a few months so this should work fine.

@EsadCetiner EsadCetiner requested a review from a team May 17, 2026 14:14
@EsadCetiner EsadCetiner merged commit 8ee989a into coreruleset:main May 17, 2026
3 checks passed
@EsadCetiner EsadCetiner deleted the feat-support-forcing-body-processor branch May 17, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants