From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH] test: add known broken test for message-id with embedded spaces.
Date: Sun, 09 Jul 2023 12:12:53 -0300 [thread overview]
Message-ID: <87351x6ruy.fsf@tethera.net> (raw)
In-Reply-To: <20230527172051.1738824-1-david@tethera.net>
David Bremner <david@tethera.net> writes:
> 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.
Applied to master. I'm curious how many such message ids there are in
the wild. It is not particularly hard to fix this in the query
parser(s), but it is a bit tedious (e.g. a new field processor would
need to be added for the id prefix in the infix query processor).
prev parent reply other threads:[~2023-07-09 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-27 17:20 [PATCH] test: add known broken test for message-id with embedded spaces David Bremner
2023-07-09 15:12 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87351x6ruy.fsf@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).