diff options
author | Martin Quinson <martin.quinson@loria.fr> | 2013-12-08 10:45:51 +0100 |
---|---|---|
committer | Martin Quinson <martin.quinson@loria.fr> | 2013-12-08 10:47:58 +0100 |
commit | ca03e66a18b34d4bb079c10a51d0f05a75b9d7f2 (patch) | |
tree | 52c98565981220bdc641f910a51acd6f0ddd3045 | |
parent | 4e09264d3cbbfc49761a36635f1662b9d38358eb (diff) | |
download | quilt-ca03e66a18b34d4bb079c10a51d0f05a75b9d7f2.tar.gz |
accept recipents that have no full name along with the email
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/mail.in | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes index 42c6d82..ab932fe 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sun Dec 8 10:46:10 CET 2013 - mquinson@debian.org + +- quilt/mail.in: accept recipents that have no full name along with + the email. Thanks to Christoph Lameter for the detailed bug report. + +------------------------------------------------------------------- Mon Sep 30 14:21:45 CEST 2013 - jdelvare@suse.de - Makefile.in: Fix support for configure --with-xargs. diff --git a/quilt/mail.in b/quilt/mail.in index fcdc46e..7ffefcf 100644 --- a/quilt/mail.in +++ b/quilt/mail.in @@ -393,8 +393,8 @@ then sed -n -e "/\<${LOGNAME:-$(whoami)}@/d" \ -e 's/^\(\(To\|'"$*"'\):[ '$'\t'']*\)\([^"]*\(,[^"]*\)\+[^" '$'\t'']\)\([ '$'\t'']*<.*>\)/\1"\3"\5/I' \ - -e 's/^To:\(.*<.*@.*>\)/Recipient-To:\1/Ip' \ - -e 's/^\('"$*"'\):\(.*<.*@.*>\)/Recipient-Cc:\2/Ip' \ + -e 's/^To:\(.+@.+\)/Recipient-To:\1/Ip' \ + -e 's/^\('"$*"'\):\(.+@.+\)/Recipient-Cc:\2/Ip' \ $tmpdir/header echo |