Empty headers are allowed by RFC2068 section 4.2. The presence or
absence of an empty header can be significant. The current mod_proxy
of httpd 1.3.x removes empty headers. Change mod_proxy to preserve
empty headers.
Submitted by: Christian von Roques <roques@mti.ag>
Reviewed by: Graham Leggett, Chuck Murcko
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@88526
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.3.20
+ *) Empty headers are allowed by RFC2068 section 4.2. The presence or
+ absence of an empty header can be significant. The current mod_proxy
+ of httpd 1.3.x removes empty headers. Change mod_proxy to preserve
+ empty headers. [Christian von Roques <roques@mti.ag>]
+
*) Enhance rotatelogs so that a UTC offset can be specified, and
the logfile name can be formatted using strftime(3). [Ken Coar]
{
struct tbl_do_args *parm = (struct tbl_do_args *)p;
- if (key == NULL || value == NULL || value[0] == '\0')
+ if (key == NULL)
return 1;
+ if (value == NULL)
+ value = "";
if (!parm->req->assbackwards)
ap_rvputs(parm->req, key, ": ", value, CRLF, NULL);
if (parm->cache != NULL && parm->cache->fp != NULL &&