git/list[1] front-page[2] threads[3] people[4] search[5] about
 

send-email garbled header with trailing doublequote in email

From
AAAndrea Arcangeli <aarcange@redhat.com>
Date
Nov 2, 2016, 20:27 UTC
Message-ID
<20161102202709.GI4611@redhat.com>
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 <aarcange@redhat.com> -----
Date: Wed, 2 Nov 2016 21:07:02 +0100
From: Andrea Arcangeli <aarcange@redhat.com>
To: linux-mm@kvack.org
Subject: Re: [PATCH 00/33] userfaultfd tmpfs/hugetlbfs/non-cooperative
User-Agent: Mutt/1.7.1 (2016-10-04)
FYI: apparently I hit a git bug in this submit... reproducible with
the below command:
git send-email -1 --to '"what ever" <--your--@--email--.com>"'
after replacing --your--@email--.com with your own email.
*snip*
Dry-OK. Log says:
To: "what ever" " <--your--@--email--.com>
*snip*
X-Mailer: git-send-email 2.7.3
Result: OK

It's not ok if the --dry-run outputs the above with a fine header, but the actual header in the email data is different. Of course I tested --dry-run twice and it was fine like the above is fine as well.

*snip*
----- End forwarded message -----
Next: Jeff King
Message 1 of 9 in “send-email garbled header with trailing doublequote in email”
  1. Andrea ArcangeliNov 2, 2016
  2. Jeff KingNov 2, 2016
  3. Andrea ArcangeliNov 2, 2016
  4. Jeff KingNov 2, 2016
  5. Andrea ArcangeliNov 2, 2016
  6. Jeff KingNov 3, 2016
  7. demerphqNov 3, 2016
  8. Andrea ArcangeliNov 4, 2016
  9. Jeff KingNov 4, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.