bug report: xapian error for message id with '..'

Subject: bug report: xapian error for message id with '..'

Date: Wed, 28 Apr 2010 08:39:57 -0400

To: Notmuch Mail

Cc:

From: Jameson Rollins


I have received a message with a somewhat strange message Id that is
causing problems in notmuch:

Message-Id: <4bd73e8cb3d79_1a3c..fb637ff610e@skinner.tmail>

Notmuch (or actually Xapian) seems to be interpreting the '..' as a
range operator, which it doesn't know how to handle:

0 servo$ notmuch search id:4bd73e8cb3d79_1a3c..fb637ff610e@skinner.tmail
A Xapian exception occurred performing query: Unknown range operation
Query string was: id:4bd73e8cb3d79_1a3c..fb637ff610e@skinner.tmail
0 servo$ 

This is causing problems for this message in the emacs UI as well.

Is it possible that the id string is not being properly quoted
internally?

jamie.
part-000.sig (application/pgp-signature)

Thread: