Page MenuHomePhabricator

Decode "Content-Encoding: gzip" content
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:46 AM.
Tags
None
Referenced Files
F19530935: D15145.diff
Tue, Jan 20, 1:14 AM
F19530932: D15145.diff
Tue, Jan 20, 1:13 AM
F19527384: D15145.diff
Mon, Jan 19, 1:11 AM
F19513229: D15145.id36568.diff
Tue, Jan 13, 9:57 AM
F19509629: D15145.diff
Sat, Jan 10, 11:11 PM
F19117054: D15145.id36568.diff
Dec 9 2025, 7:48 PM
F19101229: D15145.diff
Dec 5 2025, 2:07 AM
F19100278: D15145.id36568.diff
Dec 4 2025, 11:01 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.