/* !checksrc! disable SPACEBEFORECOMMA 1 */
static const struct setcase set_parts_list[] = {
+ {"https://example.com/",
+ "host=http://fake,",
+ "",
+ 0, /* get */
+ 0, /* set */
+ CURLUE_OK, CURLUE_BAD_HOSTNAME},
+ {"https://example.com/",
+ "host=test%,",
+ "",
+ 0, /* get */
+ 0, /* set */
+ CURLUE_OK, CURLUE_BAD_HOSTNAME},
+ {"https://example.com/",
+ "host=te st,",
+ "",
+ 0, /* get */
+ 0, /* set */
+ CURLUE_OK, CURLUE_BAD_HOSTNAME},
{"https://example.com/",
"host=0xff,", /* '++' there's no automatic URL decode when settin this
part */