ecc93caaeb
The proxy parser function strips off trailing slashes off the proxy name which could lead to a mistaken zero length proxy name which would be treated as no proxy at all by subsequent functions! This is now detected and an error is returned. Verified by the new test 1329. Reported by: Chandrakant Bagul Bug: http://curl.haxx.se/mail/lib-2012-02/0000.html
31 lines
383 B
Plaintext
31 lines
383 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP proxy
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
/-prefixed proxy name
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/we/want/that/page/1329 -x "/server"
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 5 == CURLE_COULDNT_RESOLVE_PROXY
|
|
<errorcode>
|
|
5
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|