From 88f1f11e01bf026b7c8936a3da932d67a63b4cc1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Aug 2022 10:05:19 +0200 Subject: [PATCH] test399: verify check of too long host name --- tests/data/Makefile.inc | 5 ++--- tests/data/test399 | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 tests/data/test399 diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index cfa0ea3841..f235940811 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -66,9 +66,8 @@ test361 test362 test363 test364 test365 test366 test367 test368 test369 \ test370 test371 test372 test373 test374 test375 test376 test378 test379 \ test380 test381 test383 test384 test385 test386 test387 test388 test389 \ test390 test391 test392 test393 test394 test395 test396 test397 test398 \ -\ -test400 test401 test402 test403 test404 test405 test406 test407 test408 \ -test409 test410 test411 test412 test413 test414 \ +test399 test400 test401 test402 test403 test404 test405 test406 test407 \ +test408 test409 test410 test411 test412 test413 test414 \ \ test430 test431 test432 test433 test434 test435 test436 \ \ diff --git a/tests/data/test399 b/tests/data/test399 new file mode 100644 index 0000000000..46d001a424 --- /dev/null +++ b/tests/data/test399 @@ -0,0 +1,29 @@ + + + +URL + + + + +# +# Client-side + + +http + + +65536 bytes long host name in URL + + +http://%repeat[65536 x a]%/399 + + + + +# 3 == CURLE_URL_MALFORMAT + +3 + + + -- 2.47.3