From: Zeev Suraski Date: Wed, 21 Jul 1999 20:31:07 +0000 (+0000) Subject: Fixed the Apache cookie problem (untested) X-Git-Tag: php-4.0b1~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57323801f87f0481a0eba72c36f6cc182d411168;p=php Fixed the Apache cookie problem (untested) --- diff --git a/mod_php4.c b/mod_php4.c index 8b481e3fd8..acfe531f20 100644 --- a/mod_php4.c +++ b/mod_php4.c @@ -149,6 +149,8 @@ int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_headers_str if (!strcasecmp(header_name, "Content-Type")) { r->content_type = pstrdup(r->pool, header_content); + } else if (!strcasecmp(header_name, "Set-Cookie")) { + table_add(r->headers_out, header_name, header_content); } else { table_set(r->headers_out, header_name, header_content); }