Homec4science

Consolidate HTTP header access

Authored by epriestley <git@epriestley.com> on Feb 10 2013, 00:01.

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

Committed
epriestley <git@epriestley.com>Feb 10 2013, 00:01
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf5827871d541: When a page is profiled, profile all AJAX requests too
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH879c14e13a82: Consolidate HTTP header access (authored by epriestley <git@epriestley.com>).Feb 10 2013, 00:01