]> git.notmuchmail.org Git - notmuch/commit
test: add known broken test for message-id with embedded spaces.
authorDavid Bremner <david@tethera.net>
Sat, 27 May 2023 17:20:51 +0000 (14:20 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 9 Jul 2023 14:59:43 +0000 (11:59 -0300)
commit808fd6f258e6f74f4cdb5b6f61fe102bdba59e6e
treeef7b2157c2f8ae817caa216830c44d42d44cafdc
parent3771832b013012e408696897215fd0edde7dce37
test: add known broken test for message-id with embedded spaces.

According to my reading of RFC5322, there is an obsolete syntax for
Message-Id which permits folding whitespace (i.e. to be removed /
ignored by parsers). In [1] Paul Wise observed that notmuch removed
whitespace on indexing, but does not do any corresponding
normalization of queries. Mark the latter as a bug by adding a failing
test.

[1]: id:20230409044143.4041560-1-pabs3@bonedaddy.net
test/T080-search.sh