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

Commitd6bd0ba

Browse files
author
Felipe Zimmerle
committed
Cosmetics:fixowasp-modsecurity#1400 indentation and help message
1 parent7032230 commitd6bd0ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎apache2/msc_logging.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ void sec_audit_logger_json(modsec_rec *msr) {
12781278
yajl_gen_map_close(g);// sanitized args map is finished
12791279
}
12801280
#ifdefLOG_NO_SERVER_CONTEXT
1281-
}
1281+
}
12821282
#endif
12831283

12841284
/* Web application info. */
@@ -2100,10 +2100,10 @@ void sec_audit_logger_native(modsec_rec *msr) {
21002100
}
21012101
}
21022102
#ifdefLOG_NO_SERVER_CONTEXT
2103-
}
2103+
}
21042104
#endif
21052105

2106-
/* Web application info. */
2106+
/* Web application info. */
21072107
if ( ((msr->txcfg->webappid!=NULL)&&(strcmp(msr->txcfg->webappid,"default")!=0))
21082108
|| (msr->sessionid!=NULL)|| (msr->userid!=NULL))
21092109
{

‎configure.ac‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ AC_ARG_ENABLE(stopwatch-logging,
520520
# Disable logging of server context
521521
AC_ARG_ENABLE(server-context-logging,
522522
AS_HELP_STRING([--enable-server-context-logging],
523-
[Enable logging of server info (log producer, sanitized objects, ...) in audit log when log level < 9. This is the default]),
523+
[Enable logging of server info (log producer, sanitized objects, ...) in audit logevenwhen log level < 9. This is the default]),
524524
[
525525
if test "$enableval" != "no"; then
526526
log_server_context=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp