git/t/t5100/quoted-string.expect
Kevin Daudt f357e5de31 mailinfo: unescape quoted-pair in header fields
rfc2822 has provisions for quoted strings in structured header fields,
but also allows for escaping these with so-called quoted-pairs.

The only thing git currently does is removing exterior quotes, but
quotes within are left alone.

Remove exterior quotes and remove escape characters so that they don't
show up in the author field.

Signed-off-by: Kevin Daudt <me@ikke.info>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-09-28 13:21:18 -07:00

6 lines
129 B
Plaintext

Author: Author "The Author" Name
Email: somebody@example.com
Subject: testing quoted-pair
Date: Sun, 25 May 2008 00:38:18 -0700