mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:27:18 +03:00
parent
6f0bc43b08
commit
8579cf4016
1 changed files with 16 additions and 0 deletions
|
|
@ -875,6 +875,22 @@ static const struct setgetcase setget_parts_list[] = {
|
|||
|
||||
/* !checksrc! disable SPACEBEFORECOMMA 1 */
|
||||
static const struct setcase set_parts_list[] = {
|
||||
{"https://example.com/",
|
||||
"path=one\ntwo,",
|
||||
"https://example.com/one\ntwo",
|
||||
0, 0, CURLUE_OK, CURLUE_OK},
|
||||
{"https://example.com/",
|
||||
"path=one\rtwo,",
|
||||
"https://example.com/one\rtwo",
|
||||
0, 0, CURLUE_OK, CURLUE_OK},
|
||||
{"https://example.com/",
|
||||
"path=one\ntwo,",
|
||||
"https://example.com/one%0atwo",
|
||||
0, CURLU_URLENCODE, CURLUE_OK, CURLUE_OK},
|
||||
{"https://example.com/",
|
||||
"path=one\rtwo,",
|
||||
"https://example.com/one%0dtwo",
|
||||
0, CURLU_URLENCODE, CURLUE_OK, CURLUE_OK},
|
||||
{"https://example.com/",
|
||||
"host=%43url.se,",
|
||||
"https://%43url.se/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue