mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 22:56:18 +03:00
Fix string comparison
This commit is contained in:
parent
cd4905b889
commit
524a7996b0
@ -134,7 +134,7 @@ static int multipart_parse_content_disposition(modsec_rec *msr, char *c_d_value)
|
||||
*/
|
||||
|
||||
char quote = '\0';
|
||||
if (name == "filename*") {
|
||||
if (strcmp(name, "filename*") == 0) {
|
||||
/* filename*=charset'[optional-language]'filename */
|
||||
/* Read beyond the charset and the optional language*/
|
||||
const char* start_of_charset = p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user