mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
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:
commit
b76e26d81d
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user