Re:Git: Newline injection in credential helper protocol
by kyrra on Thursday April 16, 2020 @10:13AM
(#22889550)
I wonder how this fix behaves with '\r' on all platforms. Obviously the primary systems (windows/osx/linux/bsd) all use \n or \r\n, but I'm wondering if Git has been ported to more obscure systems that only use \r [0], and how this fix would behave there.
Re:Git: Newline injection in credential helper protocol
by peff on Thursday April 16, 2020 @11:50AM
(#22890616)
That was discussed before the fix, but it doesn't matter. The helper protocol specifies a raw newline as the delimiter, and both sides of the conversation parse on that.
[0] https://en.wikipedia.org/wiki/Newline#Representation