Skip to content

Commit

Permalink
Set MULTIPART_INVALID_QUOTING variable if it is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
airween committed Aug 26, 2024
1 parent 524a799 commit 2b22261
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apache2/msc_multipart.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ static int multipart_parse_content_disposition(modsec_rec *msr, char *c_d_value)
p++;
}
if (*p != '\'') {
msr->mpd->flag_invalid_quoting = 1;
return -17; // Single quote for end-of-language not found
}
p++;
Expand Down

0 comments on commit 2b22261

Please sign in to comment.