diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index e1d0eaf4d..3b653fc80 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -333,7 +333,8 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) ngx_http_core_loc_conf_t *clcf; ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http special response: %d, \"%V\"", error, &r->uri); + "http special response: %d, \"%V?%V\"", + error, &r->uri, &r->args); rc = ngx_http_discard_request_body(r);