]> err.no Git - varnish/commitdiff
Don't complain about unrecognized <! sequences, just treat them like
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 29 Oct 2007 08:09:28 +0000 (08:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 29 Oct 2007 08:09:28 +0000 (08:09 +0000)
any other <...>

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2178 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_vrt_esi.c

index d777da1b77227c4d8567d9998742f459f23f29d6..c404a0503b57e84d6a0bb430c134c393dbe1bb76 100644 (file)
@@ -405,16 +405,6 @@ esi_parse(struct esi_work *ew)
                        continue;
                } 
 
-               if (p[1] == '!') {
-                       /*
-                        * Unrecognized <! sequence, ignore
-                        */
-                       esi_error(ew, p, i,
-                           "XML 1.0 Unknown <! sequence");
-                       p += 2;
-                       continue;
-               }
-
                /* Find end of this element */
                for (q = p + 1; q < t.e && *q != '>'; q++)
                        continue;