Page MenuHomePhabricator

Fix an issue where PHP puts the content type in CONTENT_TYPE instead of HTTP_CONTENT_TYPE
ClosedPublic

Authored by epriestley on Nov 11 2013, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 24, 3:24 AM
Unknown Object (File)
Tue, Dec 17, 1:28 PM
Unknown Object (File)
Mon, Dec 16, 5:39 PM
Unknown Object (File)
Sun, Dec 15, 6:36 PM
Unknown Object (File)
Sun, Dec 15, 9:36 AM
Unknown Object (File)
Fri, Dec 13, 8:14 AM
Unknown Object (File)
Fri, Dec 13, 4:02 AM
Unknown Object (File)
Thu, Dec 12, 7:26 AM
Subscribers

Details

Summary

Fixes T4084. See that task for discussion.

Test Plan

Did git clone. My setup doesn't precisely reproduce the original issue, but hopefully @enko can confirm this is a fix.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley updated this revision to Unknown Object (????).Nov 11 2013, 7:16 PM
  • Stronger check.
epriestley updated this revision to Unknown Object (????).Nov 11 2013, 7:19 PM
  • My brain is derps.
epriestley updated this revision to Unknown Object (????).Nov 11 2013, 7:28 PM
  • Add a unit test.
src/aphront/AphrontRequest.php
491

available

Awesome, thanks for verifying it.

epriestley updated this revision to Unknown Object (????).Nov 11 2013, 8:17 PM
  • Typo fix.