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 4c711cc commit 13f16ccCopy full SHA for 13f16cc
apache2/mod_security2.c
@@ -1279,7 +1279,7 @@ static int hook_log_transaction(request_rec *r) {
1279
1280
msr->r = r;
1281
msr->response_status = r->status;
1282
- msr->status_line = ((r->status_line != NULL)
+ msr->status_line = ((r->status_line != NULL) && (*r->status_line != '\0')
1283
? r->status_line : ap_get_status_line(r->status));
1284
msr->response_protocol = get_response_protocol(origr);
1285
msr->response_headers = apr_table_copy(msr->mp, r->headers_out);
0 commit comments