Merge pull request #148 from zimmerle/bugfix_charset_missing_string_terminator

Bugfix: missing string terminator while mounting the charset (nginx)
This commit is contained in:
Ryan Barnett 2013-10-01 05:55:31 -07:00
commit b76e26d81d

View File

@ -615,7 +615,7 @@ ngx_http_modsecurity_load_headers_out(ngx_http_request_t *r)
}
ngx_snprintf(content_type, content_type_len,
"%V; charset=%V",
"%V; charset=%V\0",
&r->headers_out.content_type,
&r->headers_out.charset);