diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-10-30 14:54:17 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-10-30 15:42:20 +0000 |
commit | 376d2ec0874144ee64e21ca79362793f116a381c (patch) | |
tree | 7fb03f1f3f1304ac42b6f742419384588e23e51a /doc | |
parent | 92e6a3d97120ddd68e26d4f5dbdd2ea127a5ff4f (diff) |
Lookups: Do not escape percent or underbar in the ${quote_pgsql: } operator. Bug 1706
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 7 | ||||
-rw-r--r-- | doc/doc-txt/ChangeLog | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index da4b7ec84..5254fb8a2 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -7537,13 +7537,12 @@ a query is successfully processed. The result of a query may be that no data is found, but that is still a successful query. In other words, the list of servers provides a backup facility, not a list of different places to look. +.new The &%quote_mysql%&, &%quote_pgsql%&, and &%quote_oracle%& expansion operators convert newline, tab, carriage return, and backspace to \n, \t, \r, and \b respectively, and the characters single-quote, double-quote, and backslash -itself are escaped with backslashes. The &%quote_pgsql%& expansion operator, in -addition, escapes the percent and underscore characters. This cannot be done -for MySQL because these escapes are not recognized in contexts where these -characters are not special. +itself are escaped with backslashes. +.wen .section "Specifying the server in the query" "SECTspeserque" For MySQL and PostgreSQL lookups (but not currently for Oracle and InterBase), diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index beedb59f4..8780780c0 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -63,6 +63,9 @@ JH/10 Bug 840: fix log_defer_output option of pipe transport JH/11 Bug 830: use same host for all RCPTS of a message, even under hosts_randomize. This matters a lot when combined with mua_wrapper. +JH/12 Bug 1706: percent and underbar characters are no longer excaped by the + ${quote_pgsql:<string>} operator. + Exim version 4.86 ----------------- |