diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-06-25 10:56:57 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-06-25 11:03:06 +0100 |
commit | 9e4a64fd7c67f4a838ca588ee62c81227bdee9f2 (patch) | |
tree | 825d72d1c594b115585b8a4907c01a7212ffab5a | |
parent | 9cef001870cf7b6c7af88e714eeb5ed49182abf4 (diff) |
Docs: duplicate description of lookup-style query syntax
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 6 |
1 files changed, 6 insertions, 0 deletions
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 |