Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit947cef7

Browse files
Chaim sanderszimmerle
Chaim sanders
authored andcommitted
Adapted patch from 977 to fix status failing to report in Nginx auditlogs
1 parent2538d90 commit947cef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apache2/msc_logging.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
18971897

18981898
/* There are no response headers (or the status line) in HTTP 0.9 */
18991899
if (msr->response_headers_sent) {
1900-
if (msr->status_line!=NULL) {
1900+
if (msr->status_line!=NULL&&msr->status_line[0]!='\0') {
19011901
text=apr_psprintf(msr->mp,"%s %s\n",msr->response_protocol,
19021902
msr->status_line);
19031903
}else {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp