[master] 15014ba96 The NULL string is also returned for the regex version of get_header
Poul-Henning Kamp
phk at FreeBSD.org
Wed Aug 25 07:30:08 UTC 2021
commit 15014ba9646f07725339bc024375a3feb639978d
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date: Wed Jul 14 17:30:40 2021 +0200
The NULL string is also returned for the regex version of get_header
diff --git a/vmod/vmod_cookie.vcc b/vmod/vmod_cookie.vcc
index 1ae5ad020..913240f1b 100644
--- a/vmod/vmod_cookie.vcc
+++ b/vmod/vmod_cookie.vcc
@@ -194,8 +194,8 @@ particular cookie is present, like this::
$Function STRING get_re(PRIV_TASK, REGEX expression)
-Get the value of the first cookie in internal vmod storage that matches
-regular expression ``expression``. If nothing matches, an empty string
+Get the value of the first cookie in internal vmod storage that matches the
+regular expression ``expression``. If nothing matches, the `NULL` string
is returned.
Example::
More information about the varnish-commit
mailing list