source: bin/varnishtest/tests/e00002.vtc @ 0b8628

Revision 0b8628, 337 bytes checked in by Poul-Henning Kamp <phk@…>, 6 years ago (diff)

Test ESI CDATA quoting

git-svn-id:  http://www.varnish-cache.org/svn/trunk/varnish-cache@2823 d4fa192b-c00b-0410-8231-f00ffab90ce4

  • Property mode set to 100644
Line 
1# $Id$
2
3test "ESI CDATA"
4
5
6server s1 {
7        rxreq
8        txresp -body {
9                <esi:remove>
10                <![CDATA[</esi:remove>]]>
11                This is a test: Unseen University
12                </esi:remove>
13                This is a test: Hello world
14        }
15} -start
16
17varnish v1 -vcl+backend {
18        sub vcl_fetch {
19                esi;
20        }
21} -start
22
23client c1 {
24        txreq
25        rxresp
26        expect resp.status == 200
27}
28
29client c1 -run
Note: See TracBrowser for help on using the repository browser.