[Varnish] #1355: ESI processing should also work when first character is a BOM

Varnish varnish-bugs at varnish-cache.org
Thu Oct 17 12:07:21 CEST 2013


#1355: ESI processing should also work when first character is a BOM
------------------------+---------------------
 Reporter:  JohnMoylan  |       Owner:  phk
     Type:  defect      |      Status:  closed
 Priority:  normal      |   Milestone:
Component:  build       |     Version:  3.0.4
 Severity:  normal      |  Resolution:  fixed
 Keywords:  ESI, BOM    |
------------------------+---------------------
Changes (by Poul-Henning Kamp <phk@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [5c03d65b8f63adccabce33d827203cf9d259bb6d]:
 {{{
 #!CommitTicketReference repository=""
 revision="5c03d65b8f63adccabce33d827203cf9d259bb6d"
 Add a feature 'esi_remove_bom' which will make ESI ignore and remove
 UTF-8 BOM's at the start of an ESI-object.

 Notice that the removal only happens if the file is actually ESI
 processed on delivery, so to get BOM removal for non-XML files,
 you may have to disable the XML test and insert a dummy ESI directive
 such as <esi:remove>BOMs Be Gone!<esi:remove/> or similar.

 Fixes   #1355
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1355#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list