GNU bug report logs - #49926
[PATCH] Fix NNIMAP search command in the gnus

Previous Next

Package: emacs;

Reported by: Jan Stranik <jan <at> stranik.org>

Date: Sat, 7 Aug 2021 13:49:01 UTC

Severity: normal

Tags: moreinfo, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: Jan Stranik <jan <at> stranik.org>, 49926 <at> debbugs.gnu.org
Subject: bug#49926: [PATCH] Fix NNIMAP search command in the gnus
Date: Sat, 06 Nov 2021 19:26:09 +0100
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> -	   "(OR HEADER REFERENCES %S HEADER Message-Id %S)"
> +	   "(OR HEADER REFERENCES \"%s\" HEADER Message-Id \"%s\")"
>  	   id id)))

This is not correct -- this would yield an incorrect syntax for IDs that
contain a " character.  I've now fixed this in emacs-28 by just removing
the text properties from `id' instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.