wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / content-filters / data / test22
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 filter yahoo
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 strings the yahoo filter should filter:
19
20 # pcrs command 1:
21
22 </head>
23
24 # pcrs command 2:
25
26 <textarea id="composeArea" blafasel width:545px;
27 </data>
28 </reply>
29
30 <proxy-reply>
31 <data>
32 HTTP/1.1 200 OK\r
33 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
34 Connection: close\r
35 Content-Type: text/html\r
36 X-Control: swsclose\r
37 Content-Length: 904\r
38 \r
39 # Here are some strings the yahoo filter should filter:
40
41 # pcrs command 1:
42
43
44 <style type="text/css">
45  /* Style sheet inserted by Privoxy's yahoo filter. */
46  #symadbn, #ymadbn, .yschbox, .yschhd, .bbox, #yschsec, #sec, #yschanswr, .yschftad, .yschspn, .yschspns, #ygrp-sponsored-links, #nwad, #MWA2, #MSCM, #yregad, #sponsored-links, #ks-ypn-ads, .ad, #east, #ygrp-vital, .ads {display: none !important;}
47  #yschpri, #yschweb, #pri, #web, #main, .yschttl, .abstr, .res 
48  {width: 99% !important; max-width: 100% !important;}
49  .yschttl, .res, .res.indent, #web {padding: 0px; margin: 0px !important;}
50  #web {padding-left: 0.5em}
51  #yschqcon, #yschtg {width: auto !important; /* No useless horizontal scrollbar please */}
52  #composebox #compose_editorArea {width: 70% !important; /* reasonably sized reply textarea please */
53  </style>
54 </head>
55
56
57 # pcrs command 2:
58
59 <textarea id="composeArea" blafasel width:70%;
60 </data>
61 </proxy-reply>
62
63 <client>
64 <server>
65 http
66 </server>
67 <name>
68 +filter{yahoo}
69 </name>
70 <features>
71 proxy
72 </features>
73 <command>
74 http://%HOSTIP:%HTTPPORT/yahoo/%TESTNUMBER
75 </command>
76 </client>
77
78 <verify>
79 <protocol>
80 GET /yahoo/%TESTNUMBER HTTP/1.1\r
81 Host: %HOSTIP:%HTTPPORT\r
82 User-Agent: curl/%VERSION\r
83 Accept: */*\r
84 Connection: close\r
85 \r
86 </protocol>
87 </verify>
88 </testcase>