Page MenuHomePhabricator

Decode "Content-Encoding: gzip" content
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:46 AM.
Tags
None
Referenced Files
F15419388: D15145.id.diff
Fri, Mar 21, 5:53 AM
F15417877: D15145.id36566.diff
Thu, Mar 20, 7:08 PM
F15417840: D15145.diff
Thu, Mar 20, 6:59 PM
Unknown Object (File)
Feb 25 2025, 6:13 PM
Unknown Object (File)
Feb 14 2025, 4:10 AM
Unknown Object (File)
Feb 9 2025, 12:38 AM
Unknown Object (File)
Feb 9 2025, 12:38 AM
Unknown Object (File)
Jan 25 2025, 12:34 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.