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
F15465996: D15144.id36567.diff
Thu, Apr 3, 12:42 AM
F15461634: D15144.id.diff
Tue, Apr 1, 9:41 AM
F15392322: D15144.id36565.diff
Mar 15 2025, 2:33 PM
Unknown Object (File)
Feb 24 2025, 5:02 AM
Unknown Object (File)
Feb 21 2025, 3:32 PM
Unknown Object (File)
Feb 14 2025, 4:10 AM
Unknown Object (File)
Feb 9 2025, 12:38 AM
Unknown Object (File)
Feb 9 2025, 12:38 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.