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
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)
Sun, Feb 9, 12:38 AM
Unknown Object (File)
Sun, Feb 9, 12:38 AM
Unknown Object (File)
Mon, Jan 27, 4:45 AM
Unknown Object (File)
Fri, Jan 24, 11:29 AM
Unknown Object (File)
Fri, Jan 24, 11:29 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.