mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
efffa66f65
... to let curl_easy_escape() itself do the strlen. This avoids a (false positive) Coverity warning and it avoids us having to store the strlen() return value in an int variable. Reviewed-by: Daniel Gustafsson Closes #7862
48 lines
583 B
Plaintext
48 lines
583 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
URLAPI
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
file
|
|
https
|
|
http
|
|
pop3
|
|
smtp
|
|
imap
|
|
ldap
|
|
dict
|
|
ftp
|
|
ipv6
|
|
</features>
|
|
<name>
|
|
URL API
|
|
</name>
|
|
<tool>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
</client>
|
|
|
|
<verify>
|
|
<stdout>
|
|
we got [fe80::20c:29ff:fe9c:409b]
|
|
we got https://[::1]/hello.html
|
|
we got https://example.com/hello.html
|
|
we got https://[fe80::20c:29ff:fe9c:409b%25eth0]/hello.html
|
|
we got [fe80::20c:29ff:fe9c:409b]
|
|
we got eth0
|
|
we got https://[fe80::20c:29ff:fe9c:409b%25clown]/hello.html
|
|
success
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|