Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14777882
D15660.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.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
Sat, Jan 25, 5:32 AM (18 h, 9 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7047226
Default Alt Text
D15660.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