Homec4science

(stable) Decode "Content-Encoding: gzip" content

Authored by epriestley <git@epriestley.com> on Jan 31 2016, 01:44.

Description

(stable) Decode "Content-Encoding: gzip" content

Summary:
Fixes T10228. When we receive a gzipped request (rare, but git may send them), decode it before providing it to the application.

This fixes the issue with proxying certain requests described in T10228.

Test Plan:

  • Applied this fix in production.
  • Cloned a problem repository cleanly.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10228

Differential Revision: https://secure.phabricator.com/D15145

Details

Committed
epriestley <git@epriestley.com>Jan 31 2016, 01:49
Pushed
aubortJan 31 2017, 17:16
Parents
rPH482da7f5dfb3: (stable) Apply phutil_utf8ize() to stderr output from VCS commands prior to…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH71bda66870d8: (stable) Decode "Content-Encoding: gzip" content (authored by epriestley <git@epriestley.com>).Jan 31 2016, 01:49