Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15417730
D15660.id37740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
464 B
Referenced Files
None
Subscribers
None
D15660.id37740.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 6:00 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7446698
Default Alt Text
D15660.id37740.diff (464 B)
Attached To
Mode
D15660: Fix an issue with passing HTTP headers through in proxied cluster requests
Attached
Detach File
Event Timeline
Log In to Comment