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
F13224859: D15144.id36565.diff
Sun, May 19, 11:27 AM
F13221089: D15144.diff
Sun, May 19, 2:16 AM
F13216239: D15144.diff
Fri, May 17, 11:23 PM
F13210014: D15144.diff
Fri, May 17, 3:21 AM
F13202226: D15144.diff
Tue, May 14, 10:25 PM
Unknown Object (File)
Sat, May 4, 6:38 PM
Unknown Object (File)
Thu, May 2, 6:42 AM
Unknown Object (File)
Wed, May 1, 1:32 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.