wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / content-filters / data / test16
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 filter demoronizer
7 </keywords>
8 </info>
9
10 <reply>
11 <data>
12 HTTP/1.1 200 OK\r
13 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
14 Connection: close\r
15 Content-Type: text/html\r
16 X-Control: swsclose\r
17 \r
18 # Here are some supposedly moronic byte sequences the demoronizer filter should filter:
19
20 # pcrs command 1:
21
22 &#012 
23 &#123 
24 &#255 
25
26 # pcrs command 2:
27
28 %hex[ %E2%80%94 ]hex%
29
30 # pcrs command 3:
31
32 %hex[ %82 ]hex%
33
34 # pcrs command 4 (commented out, no change expected):
35
36 %hex[ %83 ]hex%
37
38 # pcrs command 5:
39
40 %hex[ %84 ]hex%
41
42 # pcrs command 6:
43
44 %hex[ %85 ]hex%
45
46 # pcrs command 7 (commented out, no change expected):
47
48 %hex[ %88 ]hex%
49
50 # pcrs command 8 (commented out, no change expected):
51
52 %hex[ %89 ]hex%
53
54 # pcrs command 9:
55
56 %hex[ %8B ]hex%
57
58 # pcrs command 10:
59
60 %hex[ %8C ]hex%
61
62 # pcrs command 11:
63
64 %hex[ %91 ]hex%
65
66 # pcrs command 12:
67
68 %hex[ %92 ]hex%
69
70 # pcrs command 13:
71
72 %hex[ %92%94 ]hex%
73
74 # pcrs command 14:
75
76 %hex[ %95 ]hex%
77
78 # pcrs command 15:
79
80 %hex[ %96 ]hex%
81
82 # pcrs command 16:
83
84 %hex[ %97 ]hex%
85
86 # pcrs command 17 (commented out, no change expected):
87
88 %hex[ %98 ]hex%
89
90 # pcrs command 18 (commented out, no change expected):
91
92 %hex[ %99 ]hex%
93
94 # pcrs command 19
95
96 %hex[ %9B ]hex%/>
97 </data>
98 </reply>
99
100 <proxy-reply>
101 <data>
102 HTTP/1.1 200 OK\r
103 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
104 Connection: close\r
105 Content-Type: text/html\r
106 X-Control: swsclose\r
107 Content-Length: 771\r
108 \r
109 # Here are some supposedly moronic byte sequences the demoronizer filter should filter:
110
111 # pcrs command 1:
112
113 &#012; 
114 &#123; 
115 &#255; 
116
117 # pcrs command 2:
118
119   --  
120
121 # pcrs command 3:
122
123  , 
124
125 # pcrs command 4 (commented out, no change expected):
126
127 %hex[ %83 ]hex%
128
129 # pcrs command 5:
130
131  ,, 
132
133 # pcrs command 6:
134
135  ... 
136
137 # pcrs command 7 (commented out, no change expected):
138
139 %hex[ %88 ]hex%
140
141 # pcrs command 8 (commented out, no change expected):
142
143 %hex[ %89 ]hex%
144
145 # pcrs command 9:
146
147  < 
148
149 # pcrs command 10:
150
151  Oe 
152
153 # pcrs command 11:
154
155  ` 
156
157 # pcrs command 12:
158
159  ' 
160
161 # pcrs command 13:
162
163  '" 
164
165 # pcrs command 14:
166
167  &middot; 
168
169 # pcrs command 15:
170
171  - 
172
173 # pcrs command 16:
174
175  -- 
176
177 # pcrs command 17 (commented out, no change expected):
178
179 %hex[ %98 ]hex%
180
181 # pcrs command 18 (commented out, no change expected):
182
183 %hex[ %99 ]hex%
184
185 # pcrs command 19
186
187  > />
188 </data>
189 </proxy-reply>
190
191 <client>
192 <server>
193 http
194 </server>
195 <name>
196 +filter{demoronizer}
197 </name>
198 <features>
199 proxy
200 </features>
201 <command>
202 http://%HOSTIP:%HTTPPORT/demoronizer/%TESTNUMBER
203 </command>
204 </client>
205
206 <verify>
207 <protocol>
208 GET /demoronizer/%TESTNUMBER HTTP/1.1\r
209 Host: %HOSTIP:%HTTPPORT\r
210 User-Agent: curl/%VERSION\r
211 Accept: */*\r
212 Connection: close\r
213 \r
214 </protocol>
215 </verify>
216 </testcase>