From 11ea6fcfcee3958733309192300760ac5f693251 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 5 Jul 2023 18:20:58 +0200 Subject: fix mime-type matching (#7882) --- src/mhd/mhd_legal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mhd/mhd_legal.c') diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c index f3c16ad73..dfda58ac9 100644 --- a/src/mhd/mhd_legal.c +++ b/src/mhd/mhd_legal.c @@ -131,7 +131,7 @@ mime_matches (const char *accept_pattern, if ( (NULL == da) || (NULL == dm) ) return (0 == strcmp ("*", accept_pattern)); - /* Note: technically, we might want to parse the "q=$FLOAT" + /* FIXME: eventually, we might want to parse the "q=$FLOAT" part after the ';' and figure out which one is the best/preferred match instead of returning a boolean... */ end = strchr (da, ';'); -- cgit v1.2.3