[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/03: gen_auth: fixed fail on semicolon in parameter va
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/03: gen_auth: fixed fail on semicolon in parameter value |
Date: |
Thu, 25 Aug 2022 19:07:00 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 6bdb28d9a6e0f1a21619dfa8539c3ec1b562c337
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Aug 24 11:02:02 2022 +0300
gen_auth: fixed fail on semicolon in parameter value
---
src/microhttpd/gen_auth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/gen_auth.c b/src/microhttpd/gen_auth.c
index 02df8c2b..5c383f1a 100644
--- a/src/microhttpd/gen_auth.c
+++ b/src/microhttpd/gen_auth.c
@@ -399,10 +399,10 @@ parse_dauth_params (const char *str,
{
if (0 == str[i])
return false; /* Binary zero in parameter value */
- if (';' == str[i])
- return false; /* Semicolon in parameter value */
i++;
}
+ if (';' == str[i])
+ return false; /* Semicolon in parameter value */
value_len = i - value_start;
}
/* Skip all whitespaces after parameter value */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.