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)
Mon, Jan 27, 4:30 PM
Unknown Object (File)
Sat, Jan 25, 12:12 PM
Unknown Object (File)
Mon, Jan 20, 1:26 AM
Unknown Object (File)
Mon, Jan 20, 1:22 AM
Unknown Object (File)
Fri, Jan 17, 11:00 PM
Unknown Object (File)
Fri, Jan 17, 9:45 AM
Unknown Object (File)
Fri, Jan 17, 6:44 AM
Unknown Object (File)
Mon, Jan 13, 2:05 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.