]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: index Message-IDs w/ spaces properly
authorEric Wong <e@yhbt.net>
Tue, 31 Mar 2020 08:49:36 +0000 (08:49 +0000)
committerEric Wong <e@yhbt.net>
Tue, 31 Mar 2020 23:41:06 +0000 (23:41 +0000)
commit04e4a5573de1b9ed2f6528a0de568a1693882eea
treebcc72fc932592f68c2cecd5a5c0aee3dd8091299
parent14561ae19938facc8ddf5038eafed3df9519ee10
v2writable: index Message-IDs w/ spaces properly

Message-IDs can apparently contain spaces and other weird
characters.  Ensure we pass those properly to shard subprocesses
when importing messages in parallel mode.

Our NNTP request parser does not deal with spaces in the
Message-ID, yet, and I don't expect most NNTP clients to,
either.  Nor does the Net::NNTP client handle them in responses.
lib/PublicInbox/SearchIdxShard.pm
t/v2writable.t