Modify ↓
Opened 12 years ago
Last modified 12 years ago
#10093 new defect
"Many content-Length headers" error received when posting a comment
Reported by: | anonymous | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Component: | AddCommentMacro |
Severity: | normal | Keywords: | patch |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
When submitting a comment Google Chrome show
Error 346 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH): many "Content-Length" headers recerived.
Chrome version: 19.0.1084.56 m
A very similar issue happens with Firefox 12 (a Corrupt content message is displayed)
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Summary: | "Many content-Leght headers" error received when posting a comment → "Many content-Length headers" error received when posting a comment |
comment:3 Changed 12 years ago by
Keywords: | patch added |
---|
I've made a (somewhat ugly) patch to fix this issue, that makes the plugin compatible with Trac 1.0. See: https://github.com/filipefigcorreia/addcommentmacro/commit/b416f2875267bb57b988fad69d8926dfeb0d358c
For future reference, the complete error message as reported by Google Chrome was:
Duplicate headers received from server The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue. Error 346 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH): Multiple distinct Content-Length headers received. This is disallowed to protect against HTTP response splitting attacks.
Note: See
TracTickets for help on using
tickets.
Trac core seems to have had the same problem: t:#10412