Skip to content

v3: Remove deprecated REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG#3579

Open
hnakamur wants to merge 4 commits into
owasp-modsecurity:v3/masterfrom
hnakamur:v3/remove_deprecated_reqbody_processor_error
Open

v3: Remove deprecated REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG#3579
hnakamur wants to merge 4 commits into
owasp-modsecurity:v3/masterfrom
hnakamur:v3/remove_deprecated_reqbody_processor_error

Conversation

@hnakamur

Copy link
Copy Markdown
Contributor

what

  • Rename variable generator functions to match the new variable names.
  • Remove remaining references to the deprecated variables and update tests to use the new ones.

why

  • REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG were deprecated long time ago and they are not used in coreruleset.

references

By running the following commands:
```
./configure --enable-parser-generation
make -j
```
@airween airween added the 3.x Related to ModSecurity version 3.x label Jun 28, 2026
@hnakamur

hnakamur commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

I've updated this branch with the latest changes from v3/master.
I also removed the duplicated line at

{VARIABLE_MULTIPART_HEADER_FOLDING} { return p::make_VARIABLE_MULTIPART_HEADER_FOLDING(*driver.loc.back()); }
{VARIABLE_MULTIPART_HEADER_FOLDING} { return p::make_VARIABLE_MULTIPART_HEADER_FOLDING(*driver.loc.back()); }

@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
84.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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