Skip to content

fix: add PCRE2 capability to standalone module#3377

Merged
airween merged 3 commits into
owasp-modsecurity:v2/masterfrom
airween:v2/standalonepcre2
May 10, 2025
Merged

fix: add PCRE2 capability to standalone module#3377
airween merged 3 commits into
owasp-modsecurity:v2/masterfrom
airween:v2/standalonepcre2

Conversation

@airween

@airween airween commented May 10, 2025

Copy link
Copy Markdown
Member

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 fzipi and theseion May 10, 2025 09:48
Comment thread standalone/regex.c
Comment thread standalone/regex.c
Comment thread standalone/regex.c
Comment thread standalone/regex.c
@airween airween requested a review from theseion May 10, 2025 11:37
@sonarqubecloud

Copy link
Copy Markdown

@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