HomePhorge

Consolidate HTTP header access

Description

Consolidate HTTP header access

Summary: Route all $_SERVER['HTTP_...'] stuff through AphrontRequest (it would be nice to make this non-static, but the stack is a bit tangled right now...)

Test Plan: Verified CSRF and cascading profiling. var_dump()'d User-Agent and Referer and verified they are populated and returned correct values when accessed. Restarted server to trigger setup checks.

Reviewers: vrana

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D4888

Details

Provenance
epriestleyAuthored on Feb 9 2013, 3:01 PM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rPf5827871d541: When a page is profiled, profile all AJAX requests too
Branches
Unknown
Tags
Unknown

Event Timeline