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
F19825137: D7561.id17065.diff
Sun, Mar 8, 7:58 AM
F19552271: D7561.diff
Jan 28 2026, 11:50 PM
F19552269: D7561.diff
Jan 28 2026, 11:50 PM
F19526436: D7561.diff
Jan 18 2026, 4:58 PM
F18797717: D7561.id.diff
Oct 17 2025, 5:21 AM
F18791352: D7561.diff
Oct 16 2025, 10:02 AM
F18790807: D7561.id.diff
Oct 15 2025, 7:29 PM
F18735324: D7561.id17064.diff
Oct 1 2025, 12:46 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.