Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15394317
D15258.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
939 B
Referenced Files
None
Subscribers
None
D15258.id.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php
--- a/src/applications/diffusion/controller/DiffusionServeController.php
+++ b/src/applications/diffusion/controller/DiffusionServeController.php
@@ -427,11 +427,14 @@
'$PATH'));
}
+ // NOTE: We do not set HTTP_CONTENT_ENCODING here, because we already
+ // decompressed the request when we read the request body, so the body is
+ // just plain data with no encoding.
+
$env = array(
'REQUEST_METHOD' => $_SERVER['REQUEST_METHOD'],
'QUERY_STRING' => $query_string,
'CONTENT_TYPE' => $request->getHTTPHeader('Content-Type'),
- 'HTTP_CONTENT_ENCODING' => $request->getHTTPHeader('Content-Encoding'),
'REMOTE_ADDR' => $_SERVER['REMOTE_ADDR'],
'GIT_PROJECT_ROOT' => $repository_root,
'GIT_HTTP_EXPORT_ALL' => '1',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 11:47 PM (6 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7226141
Default Alt Text
D15258.id.diff (939 B)
Attached To
Mode
D15258: Fix handling of gzip in VCS responses
Attached
Detach File
Event Timeline
Log In to Comment