Marc Stern

Results 153 comments of Marc Stern

The only clean solution is to have 2 url decode transformation, one for URL and one for payload

replaced by https://github.com/owasp-modsecurity/ModSecurity/pull/3190

@ipMatchFromFile and @ipMatch code (same code in v2 & v3) becomes buggy from a certain number of IP. Nobody knows where this code comes from, so it's very difficult to...

My bad: - SecStatusEngine is obsolete as there's no more server to receive this info. - SecRemoteRules isn't obsolete as someone may have created a server to deliver config files...

I re-introduced the code for SecRemoteRules & SecRemoteRulesFailAction

Even if it cannot be parsed, nothing forbids you to add this Content-Type to the allowed ones for your environment

This now passed all my non-regression tests (thousands of requests)

replaced by https://github.com/owasp-modsecurity/ModSecurity/pull/3188

'rootpath' must indeed be 'const'. Note that 'rootpath' is used later for a totally different treatment - see if (APR_ERELATIVE == status). This should use another non-const variable.

Would a cast be sufficient (for both parameters)? @Marcool04 Can you test this?