{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/32773","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/32773/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/32773/comments","events_url":"https://api.github.com/repos/rails/rails/issues/32773/events","html_url":"https://github.com/rails/rails/pull/32773","id":319080060,"number":32773,"title":"Reset CONTENT_LENGTH between test requests","user":{"login":"eugeneius","id":432189,"avatar_url":"https://avatars1.githubusercontent.com/u/432189?v=4","gravatar_id":"","url":"https://api.github.com/users/eugeneius","html_url":"https://github.com/eugeneius","followers_url":"https://api.github.com/users/eugeneius/followers","following_url":"https://api.github.com/users/eugeneius/following{/other_user}","gists_url":"https://api.github.com/users/eugeneius/gists{/gist_id}","starred_url":"https://api.github.com/users/eugeneius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugeneius/subscriptions","organizations_url":"https://api.github.com/users/eugeneius/orgs","repos_url":"https://api.github.com/users/eugeneius/repos","events_url":"https://api.github.com/users/eugeneius/events{/privacy}","received_events_url":"https://api.github.com/users/eugeneius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"georgeclaghorn","id":94129,"avatar_url":"https://avatars1.githubusercontent.com/u/94129?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeclaghorn","html_url":"https://github.com/georgeclaghorn","followers_url":"https://api.github.com/users/georgeclaghorn/followers","following_url":"https://api.github.com/users/georgeclaghorn/following{/other_user}","gists_url":"https://api.github.com/users/georgeclaghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeclaghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeclaghorn/subscriptions","organizations_url":"https://api.github.com/users/georgeclaghorn/orgs","repos_url":"https://api.github.com/users/georgeclaghorn/repos","events_url":"https://api.github.com/users/georgeclaghorn/events{/privacy}","received_events_url":"https://api.github.com/users/georgeclaghorn/received_events","type":"User","site_admin":false},"assignees":[{"login":"georgeclaghorn","id":94129,"avatar_url":"https://avatars1.githubusercontent.com/u/94129?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeclaghorn","html_url":"https://github.com/georgeclaghorn","followers_url":"https://api.github.com/users/georgeclaghorn/followers","following_url":"https://api.github.com/users/georgeclaghorn/following{/other_user}","gists_url":"https://api.github.com/users/georgeclaghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeclaghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeclaghorn/subscriptions","organizations_url":"https://api.github.com/users/georgeclaghorn/orgs","repos_url":"https://api.github.com/users/georgeclaghorn/repos","events_url":"https://api.github.com/users/georgeclaghorn/events{/privacy}","received_events_url":"https://api.github.com/users/georgeclaghorn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-01T00:27:27Z","updated_at":"2018-05-01T02:47:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/32773","html_url":"https://github.com/rails/rails/pull/32773","diff_url":"https://github.com/rails/rails/pull/32773.diff","patch_url":"https://github.com/rails/rails/pull/32773.patch"},"body":"Followup to https://github.com/rails/rails/pull/32673.\r\nFixes https://github.com/rails/rails/issues/32767.\r\n\r\nhttps://github.com/rails/rails/blob/ee6a431bb9071151d9d546856a6451b861907202/actionpack/lib/action_controller/test_case.rb#L120-L121\r\n\r\nIf a POST request is followed by a GET request in a controller test, the `rack.input` and `RAW_POST_DATA` headers from the first request will be reset but the `CONTENT_LENGTH` header will leak, leading the request object in the second request to incorrectly believe it has a body.\r\n\r\nr? @georgeclaghorn "},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/385586640","html_url":"https://github.com/rails/rails/pull/32773#issuecomment-385586640","issue_url":"https://api.github.com/repos/rails/rails/issues/32773","id":385586640,"user":{"login":"mmoll","id":1434927,"avatar_url":"https://avatars2.githubusercontent.com/u/1434927?v=4","gravatar_id":"","url":"https://api.github.com/users/mmoll","html_url":"https://github.com/mmoll","followers_url":"https://api.github.com/users/mmoll/followers","following_url":"https://api.github.com/users/mmoll/following{/other_user}","gists_url":"https://api.github.com/users/mmoll/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoll/subscriptions","organizations_url":"https://api.github.com/users/mmoll/orgs","repos_url":"https://api.github.com/users/mmoll/repos","events_url":"https://api.github.com/users/mmoll/events{/privacy}","received_events_url":"https://api.github.com/users/mmoll/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T02:47:33Z","updated_at":"2018-05-01T02:47:33Z","author_association":"NONE","body":"I can confirm this indeed fixes GH-32767 :tada: "}}
{"actor":{"display_login":"mmoll"}}