Re: send-email garbled header with trailing doublequote in email

2016-11-03 Thread Andrea Arcangeli
On Thu, Nov 03, 2016 at 10:18:48AM -0400, Jeff King wrote: > bogus header. The munging that postfix does makes things worse, but I I agree it makes things worse. > can see why it is confused and does what it does (the whole email is > inside a double-quoted portion that is never closed, so it pro

Re: send-email garbled header with trailing doublequote in email

2016-11-02 Thread Andrea Arcangeli
On Wed, Nov 02, 2016 at 06:04:37PM -0400, Jeff King wrote: > Nope, it looks exactly as --dry-run reports it. My sendmail is postfix 3.1.0. > To see exactly what is being sent out, try: > > -- >8 -- > > cat >/tmp/foo <<\EOF > #!/bin/sh > echo "args: $*" > sed 's/^/stdin: /' > EOF > > chmod +x /

Re: send-email garbled header with trailing doublequote in email

2016-11-02 Thread Andrea Arcangeli
Hello, On Wed, Nov 02, 2016 at 05:11:18PM -0400, Jeff King wrote: > In fact, it is not even git that does this, but rather what > Mail::Address happens to output (though git has fallback routines if > that module isn't available that do the same thing). If it's something in perl it should be fixe

send-email garbled header with trailing doublequote in email

2016-11-02 Thread Andrea Arcangeli
Hello, send-email gets confused with one trailing " at the end of the email. Details and how to reproduce below, it breaks also with upstream git version 2.10.2.dirty. Feel free to CC me if you need any further info. Thanks, Andrea - Forwarded message from Andrea Arcangeli -