[Varnish] #1092: esi:remove does not remove HTML comments completely

Varnish varnish-bugs at varnish-cache.org
Fri Feb 10 11:44:16 CET 2012


#1092: esi:remove does not remove HTML comments completely
--------------------------------+-------------------------------------------
 Reporter:  derjohn             |        Type:  defect  
   Status:  new                 |    Priority:  normal  
Milestone:                      |   Component:  varnishd
  Version:  3.0.2               |    Severity:  normal  
 Keywords:  esi remove derjohn  |  
--------------------------------+-------------------------------------------
 Hello,
 if I put a HTML comment between the esi_remove, varnish removes everything
 except "<!--!"

 <esi:remove>
 <!-- TEST -->
 </esi:remove>

 I regards this as a bug. Funny is that, the the Rest of the HTML page will
 not be rendered anymore, because the browser thinks, it's commented out :)

 rgds,
 derjohn

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1092>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list