dgaudet 99/03/10 10:09:46
Modified: src CHANGES src/main util_script.c Log: Set-Cookie headers were being doubled up for some CGIs by the O(n^2) avoidance code added in 1.3.3. PR: 3872 Submitted by: Jeff Lewis <[EMAIL PROTECTED]> Revision Changes Path 1.1278 +4 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.1277 retrieving revision 1.1278 diff -u -r1.1277 -r1.1278 --- CHANGES 1999/03/10 17:42:35 1.1277 +++ CHANGES 1999/03/10 18:09:40 1.1278 @@ -1,5 +1,9 @@ Changes with Apache 1.3.5 + *) Set-Cookie headers were being doubled up for some CGIs by the O(n^2) + avoidance code added in 1.3.3. + [Dean Gaudet, Jeff Lewis <[EMAIL PROTECTED]>] PR#3872 + *) ap_isxdigit was somehow neglected when adding the ap_isfoo() macros for 8-bit safeness. [Dean Gaudet] 1.139 +2 -0 apache-1.3/src/main/util_script.c Index: util_script.c =================================================================== RCS file: /home/cvs/apache-1.3/src/main/util_script.c,v retrieving revision 1.138 retrieving revision 1.139 diff -u -r1.138 -r1.139 --- util_script.c 1999/02/05 00:37:48 1.138 +++ util_script.c 1999/03/10 18:09:44 1.139 @@ -496,6 +496,8 @@ ap_overlap_tables(r->err_headers_out, merge, AP_OVERLAP_TABLES_MERGE); if (!ap_is_empty_table(cookie_table)) { + /* the cookies have already been copied to the cookie_table */ + ap_table_unset(r->err_headers_out, "Set-Cookie"); r->err_headers_out = ap_overlay_tables(r->pool, r->err_headers_out, cookie_table); }