We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de9b2a commit 4f153f4Copy full SHA for 4f153f4
src/ngx_http_modsecurity_pre_access.c
@@ -54,12 +54,17 @@ ngx_http_modsecurity_pre_access_handler(ngx_http_request_t *r)
54
dd("ModSecurity not enabled... returning");
55
return NGX_DECLINED;
56
}
57
+ /*
58
+ * FIXME:
59
+ * In order to perform some tests, let's accept everything.
60
+ *
61
if (r->method != NGX_HTTP_GET &&
62
r->method != NGX_HTTP_POST && r->method != NGX_HTTP_HEAD) {
63
dd("ModSecurity is not ready to deal with anything different from " \
64
"POST, GET or HEAD");
65
66
67
+ */
68
69
ctx = ngx_http_get_module_ctx(r, ngx_http_modsecurity_module);
70
0 commit comments