Skip to content

fix: add PCRE2 capability to standalone module #3377

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 3 commits into from
May 10, 2025

Conversation

airween
Copy link
Member

@airween airween commented May 10, 2025

what

This PR adds PCRE2 related code to standalone module.

why

Previously if the user chose PCRE2 regex engine (with --with-pcre2 at build time), the standalone module did not handle that, and still wanted to be built with the old regex engine.

Furthermore, the modules make test workflow also uses standalone module too, and with PCRE2 the whole test case was broken. This patch fixes that too.

@airween airween requested review from theseion and fzipi May 10, 2025 09:48
@airween airween requested a review from theseion May 10, 2025 11:37
@airween airween merged commit 5f70b3a into owasp-modsecurity:v2/master May 10, 2025
42 checks passed
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