commit 11ea6fcfcee3958733309192300760ac5f693251
parent f2c34438603ade59412645956e70a761d5f1b9f4
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 5 Jul 2023 18:20:58 +0200
fix mime-type matching (#7882)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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, ';');