lib1560: verify appending blank URL encoded query string

This commit is contained in:
Daniel Stenberg 2023-10-31 16:22:39 +01:00
parent ffbc9981c4
commit 8c8a03f252
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -785,6 +785,10 @@ static const struct setgetcase setget_parts_list[] = {
/* !checksrc! disable SPACEBEFORECOMMA 1 */
static const struct setcase set_parts_list[] = {
{"https://example.com/?param=value",
"query=\"\",",
"https://example.com/",
0, CURLU_APPENDQUERY | CURLU_URLENCODE, CURLUE_OK, CURLUE_OK},
{"https://example.com/",
"host=\"\",",
"https://example.com/",