[Varnish] #1218: String concatenation operator '+' doesn't work on empty strings
Varnish
varnish-bugs at varnish-cache.org
Fri Oct 19 00:09:04 CEST 2012
#1218: String concatenation operator '+' doesn't work on empty strings
-----------------------+---------------------
Reporter: jafcobend | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 3.0.3
Severity: normal | Resolution: fixed
Keywords: |
-----------------------+---------------------
Changes (by Poul-Henning Kamp <phk@…>):
* status: new => closed
* resolution: => fixed
Comment:
(In [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:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list