diff --git a/src/Symfony/Components/HttpFoundation/Request.php b/src/Symfony/Components/HttpFoundation/Request.php old mode 100644 new mode 100755 index cff3da09a44e..5de1bd49b350 --- a/src/Symfony/Components/HttpFoundation/Request.php +++ b/src/Symfony/Components/HttpFoundation/Request.php @@ -225,6 +225,10 @@ public function overrideGlobals() $_COOKIES = $this->cookies->all(); // FIXME: populate $_FILES + foreach ($this->headers->all() as $key => $value) { + $_SERVER['HTTP_'.strtoupper(str_replace('-', '_', $key))] = $value; + } + // FIXME: should read variables_order and request_order // to know which globals to merge and in which order $_REQUEST = array_merge($_GET, $_POST);