]> Sergey Matveev's repositories - public-inbox.git/commit
import: drop '<' and '>' characters in addresses
authorEric Wong <e@yhbt.net>
Wed, 26 Feb 2020 10:21:12 +0000 (10:21 +0000)
committerEric Wong <e@yhbt.net>
Sun, 1 Mar 2020 23:18:53 +0000 (17:18 -0600)
commit03255d56a53d390a7f7bb069e0f1c6ea5d34756c
treeded98a63726e1600893d12d3e6f35ab080e1febc
parent9dfddf147f4c8e45eae18d3684e9f60c8a631704
import: drop '<' and '>' characters in addresses

Some strange "From:" lines will cause Email::Address::XS to
leave '<' (and presumably '>') in the address which
git-fast-import won't accept even if quoted.  Workaround this
problem by deleting '<' and '>' the same way we delete them for
the ident name.

Reported-by: Leah Neukirchen <leah@vuxu.org>
Link: https://public-inbox.org/meta/87h7zfemur.fsf@vuxu.org/
lib/PublicInbox/Import.pm
t/import.t