Skip to content

Commit 5732380

Browse files
committed
Fixed the Apache cookie problem (untested)
1 parent e6fadab commit 5732380

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mod_php4.c

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_headers_str
149149

150150
if (!strcasecmp(header_name, "Content-Type")) {
151151
r->content_type = pstrdup(r->pool, header_content);
152+
} else if (!strcasecmp(header_name, "Set-Cookie")) {
153+
table_add(r->headers_out, header_name, header_content);
152154
} else {
153155
table_set(r->headers_out, header_name, header_content);
154156
}

0 commit comments

Comments
 (0)