From: Phil Pennock Date: Sun, 9 Oct 2011 06:25:31 +0000 (-0400) Subject: fix unprotected variable in SQL example X-Git-Tag: exim-4_77~5 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b5eb014fe1c11eb3608d14a21181f245161416ae;p=exim.git fix unprotected variable in SQL example --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 530d9e3c4..688f55465 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -7779,7 +7779,7 @@ pattern must be an appropriate query for the lookup type, as described in chapter &<>&. For example: .code hold_domains = mysql;select domain from holdlist \ - where domain = '$domain'; + where domain = '${quote_mysql:$domain}'; .endd In most cases, the data that is looked up is not used (so for an SQL query, for example, it doesn't matter what field you select). Exim is interested only in