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.
2 parents a21f970 + 8d4124e commit 1adea9fCopy full SHA for 1adea9f
apache2/msc_json.c
@@ -16,7 +16,7 @@
16
17
#ifdef WITH_YAJL
18
19
-char *base_offset=NULL;
+const char *base_offset=NULL;
20
21
int json_add_argument(modsec_rec *msr, const char *value, unsigned length)
22
{
apache2/msc_logging.c
@@ -1749,7 +1749,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
1749
for(i = 0; i < tarr->nelts; i++) {
1750
msc_arg *arg = (msc_arg *)telts[i].val;
1751
if (arg->origin != NULL &&
1752
- strcmp(arg->origin, "BODY") != 0)
+ ( strcmp(arg->origin, "BODY") != 0 && strcmp(arg->origin, "JSON") != 0) )
1753
continue;
1754
1755
if (last_offset == 0) { /* The first time we're here. */
0 commit comments