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

Commit046b553

Browse files
author
Felipe Zimmerle
committed
Fix ipMatch entry on ErrorLog and DebugLog
ipMatch message on error log was not correct, it was missing the matchedip address. This commit adds the correct matched ip address.(See issueowasp-modsecurity#738)
1 parent5d92e44 commit046b553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apache2/re_operators.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static int msre_op_ipmatch_execute(modsec_rec *msr, msre_rule *rule, msre_var *v
145145
}
146146

147147
if (res>0) {
148-
*error_msg=apr_psprintf(msr->mp,"%sat %s.",*error_msg,var->name);
148+
*error_msg=apr_psprintf(msr->mp,"IPmatch: \"%s\" matchedat %s.",var->value,var->name);
149149
}
150150

151151
returnres;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp