Merge branch 'master' into 'master'

broadway: make header name parsing case-insensitve

Closes #3406

See merge request GNOME/gtk!2894
This commit is contained in:
Matthias Clasen 2020-11-30 17:55:27 +00:00
commit 56b0095622

View File

@ -1022,7 +1022,7 @@ parse_line (const char *line, const char *key)
{
const char *p;
if (!g_str_has_prefix (line, key))
if (g_ascii_strncasecmp (line, key, strlen (key)) != 0)
return NULL;
p = line + strlen (key);
if (*p != ':')