Closed fzipi closed 3 weeks ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Hi @fzipi, thanks for this patch!
You are definitely right, that's a typo.
And it's relevant here, where the mentioned argument is used, and this is where the decision is made. It's clearly visible that the method runs the same block, no matter what is the operator argument.
I wasn't able to check the issue #3111 so I don't know whether this solves or not, but I'm going to merge this PR now.
Thanks again!
I think this only solves getting additional information from the provider in https://github.com/owasp-modsecurity/ModSecurity/blob/6217b4ec1eb7bce6d48716842d904caafc99c8ec/src/operators/rbl.cc#L182 method. The DNS query is not changed.
Fixes rbl provider always using httpbl