mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
c0790ccf08
added two new tests to test the absense of -k to insecure SSL sites
32 lines
423 B
Plaintext
32 lines
423 B
Plaintext
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<name>
|
|
HTTPS GET over HTTP proxy fails
|
|
</name>
|
|
<command>
|
|
-k -U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302
|
|
</command>
|
|
</test>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
56
|
|
</errorcode>
|
|
<strip>
|
|
^User-Agent:.*
|
|
</strip>
|
|
<protocol>
|
|
</protocol>
|
|
<data>
|
|
[insert full protocol verifiction dump here]
|
|
</data>
|
|
</verify>
|