Skip to content

Commit 2b22261

Browse files
committed
Set MULTIPART_INVALID_QUOTING variable if it is necessary
1 parent 524a799 commit 2b22261

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: apache2/msc_multipart.c

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ static int multipart_parse_content_disposition(modsec_rec *msr, char *c_d_value)
149149
p++;
150150
}
151151
if (*p != '\'') {
152+
msr->mpd->flag_invalid_quoting = 1;
152153
return -17; // Single quote for end-of-language not found
153154
}
154155
p++;

0 commit comments

Comments
 (0)