HomePhorge

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

Description

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

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 <_<

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10228

Differential Revision: https://secure.phabricator.com/D15144

Details

Provenance
epriestleyAuthored on Jan 30 2016, 4:03 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP41262150dfb5: Remove unused call to phui-text
Branches
Unknown
Tags
Unknown

Event Timeline