httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11035] - [PatchAvailable] Apache adds double entries to headers generated by CGI
Date Fri, 08 Jun 2007 15:13:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=11035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=11035





------- Additional Comments From rpluem@apache.org  2007-06-08 08:13 -------
(In reply to comment #5)
> Created an attachment (id=20327)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20327&action=view) [edit]
> Don't add duplicate entries to the content_languages array
> 
> Much simpler patch attached.

apr_table_addn(r->headers_out, "Content-Language", field);

seems wrong to me. I think it should be

apr_table_setn(r->headers_out, "Content-Language", field);

to avoid having multiple Content-Language headers.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message