wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / content-filters / data / test38
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 filter imdb
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 imdb filter should filter:
19
20 # pcrs command 1:
21
22 <div id="top_ad_wrapper"
23
24 # pcrs command 2:
25
26 <iframe blafasel id="top_ad" tralala></iframe>
27
28 # pcrs command 3:
29
30 <iframe blafasel onload="doWithAds.call bumfidel></iframe>
31 </data>
32 </reply>
33
34 <proxy-reply>
35 <data>
36 HTTP/1.1 200 OK\r
37 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
38 Connection: close\r
39 Content-Type: text/html\r
40 X-Control: swsclose\r
41 Content-Length: 259\r
42 \r
43 # Here are some strings the imdb filter should filter:
44
45 # pcrs command 1:
46
47 <div id="top_ad_wrapper" style="display:none"
48
49 # pcrs command 2:
50
51 <!-- Iframe removed by Privoxy's imdb filter -->
52
53 # pcrs command 3:
54
55 <!-- Iframe removed by Privoxy's imdb filter -->
56 </data>
57 </proxy-reply>
58
59 <client>
60 <server>
61 http
62 </server>
63 <name>
64 +filter{imdb}
65 </name>
66 <features>
67 proxy
68 </features>
69 <command>
70 http://%HOSTIP:%HTTPPORT/imdb/%TESTNUMBER
71 </command>
72 </client>
73
74 <verify>
75 <protocol>
76 GET /imdb/%TESTNUMBER HTTP/1.1\r
77 Host: %HOSTIP:%HTTPPORT\r
78 User-Agent: curl/%VERSION\r
79 Accept: */*\r
80 Connection: close\r
81 \r
82 </protocol>
83 </verify>
84 </testcase>