diff options
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index b994907df..5a597fbd2 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -1155,7 +1155,7 @@ rspamd_http_message_find_header (struct rspamd_http_message *msg, LL_FOREACH (msg->headers, hdr) { if (hdr->name->len == slen) { - if (memcmp (hdr->name->str, name, slen) == 0) { + if (g_ascii_strncasecmp(hdr->name->str, name, slen) == 0) { res = hdr->value->str; break; } |