owasp-modsecurity / ModSecurity-nginx

ModSecurity v3 Nginx Connector
Apache License 2.0
1.49k stars 277 forks source link

use msc_init to check modsecurity #275

Open liudongmiao opened 2 years ago

liudongmiao commented 2 years ago

printf is not part of modsecurity, and may not work with -Werror

mikelolasagasti commented 5 months ago

This patch is required by downstream Fedora. It is required even if MODSECURITY_LIB and MODSECURITY_INC are set.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

airween commented 1 month ago

@liudongmiao thanks, this is very useful. (I had solved that with a bit similar way in Debian - but this one is more elegant.)

Could you pick up the current status and rebase your tree? It would be nice to run every PR's against our new workflow.

Thanks!

liudongmiao commented 1 month ago

@airween Thanks.

PR #275 was made two years ago. In last 2 years, modsecurity and modsecurity-nginx have changed.