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