View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004252 | SOGo | Backend General | public | 2017-08-18 14:35 | 2017-10-11 07:49 |
Reporter | mcmer | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | amd64 | OS | OpenBSD | OS Version | 6.1 |
Product Version | 2.3.19 | ||||
Summary | 0004252: http response code 204 MUST NOT carry Content-Length header | ||||
Description | When responding to a PUT of an existing calendar entry sogo responds with 204 but adds a Content-Length header. This is in violation of RFC 7230 3.3.2, p.30. The issue surfaced when OpenBSDs relayd(8) as reverse proxy did not accept such invalid responses and returned code 500 (Internal Server error). | ||||
Steps To Reproduce | Run sogo behind relayd(8) as reverse proxy. | ||||
Tags | No tags attached. | ||||
I made an attempt at a patch, which did NOT help: --- SoObjects/SOGo/SOGoObject.m.orig Fri Aug 18 16:44:44 2017
|
|
It's not just PUTs that are responded to with 204 + Content-Length. I think every response of 204 gets that (wrong) Content-Length header. Another example that triggers the 500 by OpenBSD's relayd(8): |
|