[Varnish] #1296: hash_data() behaviour deepends on argument form

Varnish varnish-bugs at varnish-cache.org
Wed May 1 14:54:47 CEST 2013


#1296: hash_data() behaviour deepends on argument form
----------------------+-------------------
 Reporter:  phk       |      Owner:  phk
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 {{{
 hash_data("1" + "2" + "3")
 }}}

 does not give the same hash as:

 {{{
 set req.http.foo = "2";
 hash_data("1" + req.http.foo + "3")
 }}}

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




More information about the varnish-bugs mailing list