diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2020-11-08 16:32:10 -0800 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2020-11-08 16:35:19 -0800 |
commit | 795b7da16b89f7e7e0392700fdca967637b0485e (patch) | |
tree | 78c3e2bbf5a82abe705313f2a6f4142f97210e6d /test/lisp/emacs-lisp/pp-tests.el | |
parent | 74de386a8a62f44520759320557a985dda923979 (diff) | |
download | emacs-795b7da16b89f7e7e0392700fdca967637b0485e.tar.gz emacs-795b7da16b89f7e7e0392700fdca967637b0485e.tar.bz2 emacs-795b7da16b89f7e7e0392700fdca967637b0485e.zip |
Add more protections to gnus-search query parsing
* lisp/gnus/gnus-group.el (gnus-group-make-search-group,
gnus-group-read-ephemeral-search-group): If the query is coming in via
the old 'nnir-query-spec key, we know not to parse it.
* lisp/gnus/gnus-search.el (gnus-search-make-query-string): Check if
the query was sent in as '(query "query"), and not '(query . "query).
(gnus-search-imap-search-keys): Add x-gm-raw to imap search keys.
(gnus-search-prepare-query): If we know this query should be raw,
don't even try parsing it, as it probably won't work.
Diffstat (limited to 'test/lisp/emacs-lisp/pp-tests.el')
0 files changed, 0 insertions, 0 deletions