{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/267","labels_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/267/comments","events_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/267/events","html_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/issues/267","id":116260519,"number":267,"title":"Require Content-Length to be provided with every POST request","user":{"login":"mnot","id":74384,"avatar_url":"https://avatars.githubusercontent.com/u/74384?v=3","gravatar_id":"","url":"https://api.github.com/users/mnot","html_url":"https://github.com/mnot","followers_url":"https://api.github.com/users/mnot/followers","following_url":"https://api.github.com/users/mnot/following{/other_user}","gists_url":"https://api.github.com/users/mnot/gists{/gist_id}","starred_url":"https://api.github.com/users/mnot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnot/subscriptions","organizations_url":"https://api.github.com/users/mnot/orgs","repos_url":"https://api.github.com/users/mnot/repos","events_url":"https://api.github.com/users/mnot/events{/privacy}","received_events_url":"https://api.github.com/users/mnot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-11T04:05:47Z","updated_at":"2015-11-30T04:05:25Z","closed_at":null,"body":"In base_rules/modsecurity_crs_20_protocol_violations.conf:\r\n\r\n> This chained rule checks if the request method is POST, if so, it checks that a Content-Length header is also present.\r\n\r\nHTTP doesn't require that POST requests have a Content-Length; it's perfectly acceptable to use chunked encoding. If the server needs the Content-Length, it can already reject the request with 411 (Length Required).\r\n\r\nWhile it might be reasonable to say that this is a heuristic for detecting attackers, it is *not* a protocol violation."},"comment":{"url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/comments/160511519","html_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/issues/267#issuecomment-160511519","issue_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/267","id":160511519,"user":{"login":"mnot","id":74384,"avatar_url":"https://avatars.githubusercontent.com/u/74384?v=3","gravatar_id":"","url":"https://api.github.com/users/mnot","html_url":"https://github.com/mnot","followers_url":"https://api.github.com/users/mnot/followers","following_url":"https://api.github.com/users/mnot/following{/other_user}","gists_url":"https://api.github.com/users/mnot/gists{/gist_id}","starred_url":"https://api.github.com/users/mnot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnot/subscriptions","organizations_url":"https://api.github.com/users/mnot/orgs","repos_url":"https://api.github.com/users/mnot/repos","events_url":"https://api.github.com/users/mnot/events{/privacy}","received_events_url":"https://api.github.com/users/mnot/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T04:05:25Z","updated_at":"2015-11-30T04:05:25Z","body":"@FlatKey LGTM."}}