curl_url_set: enforce the max string length check for all parts

Update the docs and test 1559 accordingly

Closes #11273
This commit is contained in:
Daniel Stenberg 2023-06-08 13:40:52 +02:00
parent 67e9e90f96
commit dacd25888f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 10 additions and 11 deletions

View file

@ -37,7 +37,7 @@ Set excessive URL lengths
CURLOPT_URL 10000000 bytes URL == 43
CURLOPT_POSTFIELDS 10000000 bytes data == 0
CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
CURLUPART_SCHEME 10000000 bytes scheme == 27 (Bad scheme)
CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function)
CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
</stdout>
</verify>