diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-05 18:20:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-05 18:20:58 +0200 |
commit | 11ea6fcfcee3958733309192300760ac5f693251 (patch) | |
tree | ae35c93837b64044affcd6ac30ec29ab3704378f /src/mhd | |
parent | f2c34438603ade59412645956e70a761d5f1b9f4 (diff) |
fix mime-type matching (#7882)
Diffstat (limited to 'src/mhd')
-rw-r--r-- | src/mhd/mhd_legal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, ';'); |