We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 249af34 commit 2171ec5Copy full SHA for 2171ec5
src/ngx_http_modsecurity_rewrite.c
@@ -89,6 +89,7 @@ ngx_http_modsecurity_rewrite_handler(ngx_http_request_t *r)
89
#if defined(MODSECURITY_CHECK_VERSION)
90
#if MODSECURITY_VERSION_NUM >= 30130100
91
ngx_str_t hostname;
92
+ hostname.len = 0;
93
// first check if Nginx received a Host header and it's usable
94
// (i.e. not empty)
95
// if yes, we can use that
0 commit comments