Page MenuHomePhabricator

Decode "Content-Encoding: gzip" content
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:46 AM.
Tags
None
Referenced Files
F15929042: D15145.id.diff
Mon, Jun 2, 5:12 AM
Unknown Object (File)
Sun, Jun 1, 5:40 AM
Unknown Object (File)
Sat, May 31, 8:00 PM
Unknown Object (File)
Sun, May 25, 6:57 AM
Unknown Object (File)
Wed, May 7, 2:07 PM
Unknown Object (File)
Wed, May 7, 4:49 AM
Unknown Object (File)
Wed, May 7, 12:31 AM
Unknown Object (File)
Apr 20 2025, 10:58 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
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.