[Varnish] #1218: String concatenation operator '+' doesn't work on empty strings
Varnish
varnish-bugs at varnish-cache.org
Fri Oct 19 00:09:02 CEST 2012
#1218: String concatenation operator '+' doesn't work on empty strings
-----------------------+--------------------
Reporter: jafcobend | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 3.0.3
Severity: normal | Resolution:
Keywords: |
-----------------------+--------------------
Comment (by Poul-Henning Kamp <phk@…>):
In [0e984bd491faa3742601ee8c64a69955445bc7a0]:
{{{
#!CommitTicketReference repository=""
revision="0e984bd491faa3742601ee8c64a69955445bc7a0"
Make
set req.http.Cookie = req.http.Cookie + " " + req.http.Cookie-sess;
do the obvious thing, even if req.http.Cookie does not exist.
The underlying issue was a badly though through overloading of
the NULL value to mean "Unset". Now it has its own magic marker.
Fixes #1218
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1218#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list