[Varnish] #763: problem with invalid Headers

Varnish varnish-bugs at varnish-cache.org
Thu Sep 30 11:52:12 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:                 |  
---------------------------+------------------------------------------------

Comment(by tfheen):

 (In [5369]) Merge r5334, r5335: 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

 5335 is:

 Add regression test for #763

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




More information about the varnish-bugs mailing list