From: Jeremy Harris Date: Sun, 25 Jun 2023 09:56:57 +0000 (+0100) Subject: Docs: duplicate description of lookup-style query syntax X-Git-Tag: exim-4.97-RC0~69 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/9e4a64fd7c67f4a838ca588ee62c81227bdee9f2 Docs: duplicate description of lookup-style query syntax --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 5122c97fb..4a044bb11 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -6724,6 +6724,12 @@ version of the lookup key. The &'query-style'& type accepts a generalized database query. No particular key value is assumed by Exim for query-style lookups. You can use whichever Exim variables you need to construct the database query. + +For the string-expansion kind of lookups, the query is given in the first +bracketed argument of the &${lookup ...}$& expansion. +For the list-argument kind of lookup the quury is given by the remainder of the +list item after the first semicolon. + .cindex "tainted data" "quoting for lookups" If tainted data is used in the query then it should be quuted by using the &*${quote_*&<&'lookup-type'&>&*:*&<&'string'&>&*}*& expansion operator