aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-08-01 02:09:08 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-08-01 02:09:08 +0000
commit9251dd7b2412214d3b25da666f7755a7ab207d39 (patch)
tree4247f5d6e31cc0a930872dd385d58ba67a9c0ac3 /tests/data
parent3615063fbcb17d04e3fa798187c7c7b8b035b6dd (diff)
User names embedded in proxy URLs without a password were parsed
incorrectly--the host name is treated as part of the user name and the port number becomes the password. This can be observed in test 279 (was KNOWN_ISSUE #54).
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test2795
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/data/test279 b/tests/data/test279
index c37e9ab11..f52941cd4 100644
--- a/tests/data/test279
+++ b/tests/data/test279
@@ -7,6 +7,7 @@ HTTP proxy
HTTP proxy Basic auth
</keywords>
</info>
+
# Server-side
<reply>
<data>
@@ -28,7 +29,7 @@ http
HTTP with proxy string including http:// and user only
</name>
<command>
-http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
+http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
</command>
</client>
@@ -39,7 +40,7 @@ http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
</strip>
<protocol>
GET http://we.want.that.site.com/279 HTTP/1.1
-Proxy-Authorization: Basic ZmFrZUAxMjcuMC4wLjE6ODk5MA0=
+Proxy-Authorization: Basic ZmFrZTo=
Host: we.want.that.site.com
Pragma: no-cache
Accept: */*