[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/11: test_digestauth{._with_arguments}: do test really
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/11: test_digestauth{._with_arguments}: do test really with arguments |
Date: |
Wed, 22 Jun 2022 20:00:10 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 5ba4b7709fc13ee3bbcb65083afa456be6fe3c7e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jun 22 20:50:49 2022 +0300
test_digestauth{._with_arguments}: do test really with arguments
---
src/testcurl/test_digestauth.c | 2 +-
src/testcurl/test_digestauth_with_arguments.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
index 6f22c1f2..872eebc4 100644
--- a/src/testcurl/test_digestauth.c
+++ b/src/testcurl/test_digestauth.c
@@ -216,7 +216,7 @@ _checkCURLE_OK_func (CURLcode code, const char *curlFunc,
/* Could be increased to facilitate debugging */
#define TIMEOUTS_VAL 5
-#define MHD_URI_BASE_PATH "/bar%20foo%3Fkey%3Dvalue"
+#define MHD_URI_BASE_PATH "/bar%20foo?key=value"
#define PAGE \
"<html><head><title>libmicrohttpd demo</title></head><body>Access
granted</body></html>"
diff --git a/src/testcurl/test_digestauth_with_arguments.c
b/src/testcurl/test_digestauth_with_arguments.c
index 843e4684..631169e8 100644
--- a/src/testcurl/test_digestauth_with_arguments.c
+++ b/src/testcurl/test_digestauth_with_arguments.c
@@ -234,7 +234,8 @@ testDigestAuth ()
}
snprintf (url,
sizeof (url),
- "http://127.0.0.1:%d/bar%%20foo%%3Fkey%%3Dvalue",
+ "http://127.0.0.1:%d/bar%%20foo?"
+ "key=value&more=even%%20more&empty&=no_key&&same=one&&same=two",
port);
c = curl_easy_init ();
curl_easy_setopt (c, CURLOPT_URL, url);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (1c181be2 -> 8b01c152), gnunet, 2022/06/22
- [libmicrohttpd] 04/11: test_digestauth{._with_arguments}: do test really with arguments,
gnunet <=
- [libmicrohttpd] 03/11: configure: removed unused variable, gnunet, 2022/06/22
- [libmicrohttpd] 07/11: Added tracking of the request URL length., gnunet, 2022/06/22
- [libmicrohttpd] 10/11: digestauth.h: added some doxy, gnunet, 2022/06/22
- [libmicrohttpd] 01/11: configure: removed unneeded special flags for Darwin, gnunet, 2022/06/22
- [libmicrohttpd] 06/11: digest_auth_check_all(): simplified, improved readability, gnunet, 2022/06/22
- [libmicrohttpd] 05/11: MHD_parse_arguments_(): refactored, allow cls for the callback, gnunet, 2022/06/22
- [libmicrohttpd] 08/11: Fixed check for URL match to handle URLs with binary zero, gnunet, 2022/06/22
- [libmicrohttpd] 02/11: configure: added basic support for AIX XLC flags, gnunet, 2022/06/22
- [libmicrohttpd] 09/11: digestauth: removed now unused do-while scope, gnunet, 2022/06/22
- [libmicrohttpd] 11/11: mhd_str.h: fixed doxy, gnunet, 2022/06/22