mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
04427fc207
... as using a 65535 bytes host name in a URL does not fit on the command line on some systems - like Windows. Reported-by: Marcel Raad Fixes #9321 Closes #9322
33 lines
368 B
Plaintext
33 lines
368 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
URL
|
|
</keywords>
|
|
</info>
|
|
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
65536 bytes long host name in URL
|
|
</name>
|
|
<file name="log/input%TESTNUM">
|
|
url = http://%repeat[65536 x a]%/399
|
|
</file>
|
|
<command>
|
|
-K log/input%TESTNUM
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
# 3 == CURLE_URL_MALFORMAT
|
|
<errorcode>
|
|
3
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|