gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix mime-type matching (#7882)


From: gnunet
Subject: [taler-exchange] branch master updated: fix mime-type matching (#7882)
Date: Wed, 05 Jul 2023 18:20:49 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new f2c34438 fix mime-type matching (#7882)
f2c34438 is described below

commit f2c34438603ade59412645956e70a761d5f1b9f4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 5 18:20:46 2023 +0200

    fix mime-type matching (#7882)
---
 src/mhd/mhd_legal.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 6325fdf7..f3c16ad7 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -131,6 +131,9 @@ 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"
+     part after the ';' and figure out which one is the
+     best/preferred match instead of returning a boolean... */
   end = strchr (da, ';');
   if (NULL == end)
     end = &da[strlen (da)];

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]