Page MenuHomePhabricator

Decode "Content-Encoding: gzip" content
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 14, 4:10 AM
Unknown Object (File)
Sun, Feb 9, 12:38 AM
Unknown Object (File)
Sun, Feb 9, 12:38 AM
Unknown Object (File)
Jan 25 2025, 12:34 AM
Unknown Object (File)
Jan 24 2025, 4:35 PM
Unknown Object (File)
Jan 24 2025, 11:30 AM
Unknown Object (File)
Jan 24 2025, 11:30 AM
Unknown Object (File)
Jan 17 2025, 4:09 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.