mirror of
https://github.com/curl/curl.git
synced 2026-06-27 03:35:39 +03:00
lib1560: verify appending blank URL encoded query string
This commit is contained in:
parent
ffbc9981c4
commit
8c8a03f252
1 changed files with 4 additions and 0 deletions
|
|
@ -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/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue