Fixed the Apache cookie problem (untested)

This commit is contained in:
Zeev Suraski 1999-07-21 20:31:07 +00:00
parent e6fadabf43
commit 57323801f8

View File

@ -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);
}