[Varnish] #763: problem with invalid Headers

Varnish varnish-bugs at varnish-cache.org
Wed Sep 29 10:40:39 CEST 2010


#763: problem with invalid Headers
---------------------------+------------------------------------------------
 Reporter:  danielpicolli  |        Owner:  phk                
     Type:  defect         |       Status:  closed             
 Priority:  high           |    Milestone:  Varnish 2.1 release
Component:  varnishd       |      Version:  trunk              
 Severity:  major          |   Resolution:  fixed              
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by phk):

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


Comment:

 (In [5334]) Add a limited workaround for vary headers having double
 colons.

 In general the "be liberal in what you accept" is a good thing, but
 I am not going to be liberal about anything that could cause us to
 return wrong content.

 The truly consistent thing to do would be to error the fetch, but that
 is a bit on the harsh-side for this specific cornercase, so I have
 added a test to ignore the first character of the vary header, if it
 is a colon.

 Fixes:  #763

-- 
Ticket URL: </ticket/763#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list