Page MenuHomePhabricator

Decode "Content-Encoding: gzip" content
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:46 AM.
Tags
None
Referenced Files
F19099389: D15145.id36566.diff
Thu, Dec 4, 7:56 PM
F19052393: D15145.diff
Fri, Nov 28, 4:59 AM
F18847810: D15145.diff
Oct 30 2025, 2:17 AM
F18840878: D15145.id.diff
Oct 28 2025, 4:32 AM
F18837414: D15145.diff
Oct 27 2025, 5:10 AM
F18646059: D15145.id36566.diff
Sep 19 2025, 9:15 AM
F18620421: D15145.diff
Sep 15 2025, 5:12 AM
F18494486: D15145.id36566.diff
Sep 4 2025, 1:12 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
gunzip
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10407
Build 12711: Run Core Tests
Build 12710: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Decode "Content-Encoding: gzip" content.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.

shititquick

This revision is now accepted and ready to land.Jan 31 2016, 12:48 AM
This revision was automatically updated to reflect the committed changes.