From: Gonzalo A. <ga...@us...> - 2009-01-26 14:00:49
|
Update of /cvsroot/mod-c/ehtml/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16309/src Modified Files: Response.cpp Log Message: Bugfix: Set-Cookie header may happend multiple times in the response. Index: Response.cpp =================================================================== RCS file: /cvsroot/mod-c/ehtml/src/Response.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Response.cpp 12 Oct 2006 21:10:36 -0000 1.6 --- Response.cpp 26 Jan 2009 14:00:44 -0000 1.7 *************** *** 44,48 **** ProfileMe(); string val(name + "=" + value + "; path=/"); ! apr_table_set(RequestContext->r->headers_out, "Set-Cookie", val.c_str()); } --- 44,48 ---- ProfileMe(); string val(name + "=" + value + "; path=/"); ! apr_table_add(RequestContext->r->headers_out, "Set-Cookie", val.c_str()); } |