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)
Wed, Apr 17, 2:49 PM
Unknown Object (File)
Fri, Apr 12, 4:08 PM
Unknown Object (File)
Thu, Apr 11, 5:27 PM
Unknown Object (File)
Thu, Apr 11, 7:21 AM
Unknown Object (File)
Wed, Apr 10, 5:55 AM
Unknown Object (File)
Sun, Apr 7, 6:16 PM
Unknown Object (File)
Fri, Apr 5, 9:05 PM
Unknown Object (File)
Fri, Apr 5, 9:05 PM
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

Branch
arequest
Lint
Lint Passed
Unit
Tests Passed

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.