[mod-xhtml-neg-cvs] mod_xhtml_neg mod_xhtml_neg.c,1.19,1.20
Brought to you by:
run2000
From: <ru...@us...> - 2004-03-13 01:44:08
|
Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6540 Modified Files: mod_xhtml_neg.c Log Message: Profile isn't included as part of the hashcode generation sequence, since it isn't returned in the Content-Type header. Index: mod_xhtml_neg.c =================================================================== RCS file: /cvsroot/mod-xhtml-neg/mod_xhtml_neg/mod_xhtml_neg.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** mod_xhtml_neg.c 12 Mar 2004 10:18:09 -0000 1.19 --- mod_xhtml_neg.c 13 Mar 2004 01:35:26 -0000 1.20 *************** *** 485,490 **** * two hyphen separated, zero padded hexadecimal numbers. * ! * The data that we use to generate the hash is the content-type, charset, ! * and profile, concatenated as one long string. */ --- 485,494 ---- * two hyphen separated, zero padded hexadecimal numbers. * ! * The data that we use to generate the hash is the content-type and charset, ! * concatenated as one long string. ! * ! * Todo: ! * If the content-type returned ever includes the "profile" parameter, ! * include it as part of the hash code. */ *************** *** 495,499 **** int len, i; ! data = ap_pstrcat( p, rec->name, rec->charset, rec->profile, NULL ); len = mod_xhtml_strlen( data ); hash = 7; --- 499,503 ---- int len, i; ! data = ap_pstrcat( p, rec->name, rec->charset, NULL ); len = mod_xhtml_strlen( data ); hash = 7; |