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

'Comma in -to/-cc entry' on valid addresses

From
ALAndy Lutomirski <luto@amacapital.net>
Date
Dec 17, 2015, 00:43 UTC
Message-ID
<CALCETrWY+n-m_P-0ub4ZPn5yGrr52C8F+wAtJok-cCQmM12d5Q@mail.gmail.com>

$ git send-email --to='"Address, Valid" <somebody@foobarbaz.com>' Comma in --to entry: "Address, Valid" <somebody@foobarbaz.com>' $ git --version git version 2.5.0

This appears to be a recent regression.

For an authority on why the current behavior is wrong, see RFC 2822 section 3.4, which defines mailbox and mailbox-list as well as section 3.2.6, which indicates that a phrase can contain a quoted-string.

--Andy
Next: Matthieu Moy
Message 1 of 2 in “'Comma in -to/-cc entry' on valid addresses”
  1. Andy LutomirskiDec 17, 2015
  2. Matthieu MoyDec 17, 2015

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.