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)
Sat, Jun 14, 3:00 PM
Unknown Object (File)
May 19 2025, 1:02 PM
Unknown Object (File)
May 7 2025, 4:28 PM
Unknown Object (File)
May 6 2025, 7:30 PM
Unknown Object (File)
May 5 2025, 5:06 AM
Unknown Object (File)
May 1 2025, 4:48 AM
Unknown Object (File)
Apr 27 2025, 12:51 PM
Unknown Object (File)
Apr 26 2025, 4:04 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

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.