]> Sergey Matveev's repositories - public-inbox.git/commit
smsg: handle wide characters in raw mail headers
authorEric Wong <e@yhbt.net>
Wed, 19 Aug 2020 08:02:33 +0000 (08:02 +0000)
committerEric Wong <e@yhbt.net>
Wed, 19 Aug 2020 08:05:26 +0000 (08:05 +0000)
commit86c28d2432292c6bee149f59175486e5610e4462
tree9a912e852e40ee6be1280480a20b1f5e362d8fdf
parent99850fabd5fc628ab29c718e9d7de09b8114b208
smsg: handle wide characters in raw mail headers

There may be messages in the wild with wide characters in
headers which aren't non-RFC2047 encoded.  Assume UTF-8 so
those fields can round trip through over.sqlite3.

This doesn't affect docdata.glass in Xapian, but it does
affect how over.sqlite3 stores the same deflated info.
lib/PublicInbox/Smsg.pm
t/psgi_search.t