Am 16.01.2017 um 02:51 schrieb Junio C Hamano:
* jk/vreport-sanitize (2017-01-11) 2 commits
- vreport: sanitize ASCII control chars
- Revert "vreportf: avoid intermediate buffer"
An error message with an ASCII control character like '\r' in it
can alter the message to hide its early part, which is problematic
when a remote side gives such an error message that the local side
will relay with a "remote: " prefix.
Will merge to 'next'.
Please be not too hasty with advancing this topic to master. I could
imagine that there is some unwanted fallout on systems where the
end-of-line marker CRLF is common. Though, I haven't tested the topic
myself, yet, nor do I expect regressions in *my* typical workflow.
-- Hannes