Page MenuHomePhabricator

Apply phutil_utf8ize() to stderr output from VCS commands prior to logging
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:04 AM.
Tags
None
Referenced Files
F13135066: D15144.diff
Thu, May 2, 6:42 AM
Unknown Object (File)
Wed, May 1, 1:32 AM
Unknown Object (File)
Thu, Apr 25, 2:59 PM
Unknown Object (File)
Wed, Apr 24, 10:45 PM
Unknown Object (File)
Fri, Apr 19, 12:31 AM
Unknown Object (File)
Apr 2 2024, 12:04 AM
Unknown Object (File)
Mar 29 2024, 4:09 PM
Unknown Object (File)
Mar 16 2024, 3:11 AM
Subscribers
None

Details

Summary

Ref T10228. Commands like git-http-backend can emit errors with raw bytes in the output. Sanitize these if present so we can log them in JSON format.

Test Plan

Edited this into production. >_> sneaky sneaky <_<

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Apply phutil_utf8ize() to stderr output from VCS commands prior to logging.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jan 31 2016, 12:04 AM
This revision was automatically updated to reflect the committed changes.