Page MenuHomePhabricator

D15660.id37741.diff
No OneTemporary

D15660.id37741.diff

diff --git a/src/aphront/AphrontRequest.php b/src/aphront/AphrontRequest.php
--- a/src/aphront/AphrontRequest.php
+++ b/src/aphront/AphrontRequest.php
@@ -756,6 +756,7 @@
foreach ($_SERVER as $key => $value) {
if (preg_match('/^HTTP_/', $key)) {
// Unmangle the header as best we can.
+ $key = substr($key, strlen('HTTP_'));
$key = str_replace('_', ' ', $key);
$key = strtolower($key);
$key = ucwords($key);

File Metadata

Mime Type
text/plain
Expires
Fri, May 10, 7:03 AM (3 w, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276867
Default Alt Text
D15660.id37741.diff (464 B)

Event Timeline