commit e91662093162b685f2f88dc02786f9a091b73937
parent 755b338ba5a286130e394c4c4f34c2601b2eab0b
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 21 Jul 2022 15:06:14 +0300
test_digest: improved test URI
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/testcurl/test_digestauth_concurrent.c b/src/testcurl/test_digestauth_concurrent.c
@@ -226,7 +226,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_sha256.c b/src/testcurl/test_digestauth_sha256.c
@@ -261,7 +261,7 @@ 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",
port);
c = curl_easy_init ();
curl_easy_setopt (c, CURLOPT_URL, url);