~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to tests/data/test264

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-12 15:04:52 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212150452-2ymlra67b2p7kjyy
Tags: 7.15.1-1ubuntu1
Resynchronise with Debian to get URL parser overflow fix from 7.15.1
(CVE-2005-4077).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<info>
 
2
<keywords>
 
3
HTTP
 
4
HTTP GET
 
5
HTTP proxy
 
6
HTTP proxy Basic auth
 
7
</keywords>
 
8
</info>
 
9
# Server-side
 
10
<reply>
 
11
<data>
 
12
HTTP/1.1 200 OK swsclose
 
13
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
14
Content-Type: text/html
 
15
 
 
16
the content would go here
 
17
</data>
 
18
</reply>
 
19
 
 
20
# Client-side
 
21
<client>
 
22
<server>
 
23
http
 
24
</server>
 
25
 <name>
 
26
HTTP with proxy string including http:// and user+password
 
27
 </name>
 
28
 <command>
 
29
http://we.want.that.site.com/264 -x http://f%61ke:user@%HOSTIP:%HTTPPORT
 
30
</command>
 
31
</client>
 
32
 
 
33
# Verify data after the test has been "shot"
 
34
<verify>
 
35
<strip>
 
36
^User-Agent:.*
 
37
</strip>
 
38
<protocol>
 
39
GET http://we.want.that.site.com/264 HTTP/1.1
 
40
Proxy-Authorization: Basic ZmFrZTp1c2Vy
 
41
Host: we.want.that.site.com
 
42
Pragma: no-cache
 
43
Accept: */*
 
44
Proxy-Connection: Keep-Alive
 
45
 
 
46
</protocol>
 
47
</verify>