diff options
author | Phil Pennock <pdp@exim.org> | 2010-06-07 08:42:15 +0000 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2010-06-07 08:42:15 +0000 |
commit | 71265ae92dbf3153c8d4803d1621a5aad70250ef (patch) | |
tree | c59ddcb5d3106f3e99e95b25ae1bc8ee51bd325d /doc | |
parent | 6a8de8541c16d12eceab2c6610cd209e7641217a (diff) |
Both bool{} and bool_lax{} should ignore trailing whitespace.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 6 | ||||
-rw-r--r-- | doc/doc-txt/ChangeLog | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 8254bee51..837813cec 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -1,4 +1,4 @@ -. $Cambridge: exim/doc/doc-docbook/spec.xfpt,v 1.84 2010/06/07 08:23:20 pdp Exp $ +. $Cambridge: exim/doc/doc-docbook/spec.xfpt,v 1.85 2010/06/07 08:42:15 pdp Exp $ . . ///////////////////////////////////////////////////////////////////////////// . This is the primary source of the Exim Manual. It is an xfpt document that is @@ -9802,7 +9802,7 @@ zero. This condition turns a string holding a true or false representation into a boolean state. It parses &"true"&, &"false"&, &"yes"& and &"no"& (case-insensitively); also positive integer numbers map to true if non-zero, -false if zero. Leading whitespace is ignored. +false if zero. Leading and trailing whitespace is ignored. All other string values will result in expansion failure. When combined with ACL variables, this expansion condition will let you @@ -9819,7 +9819,7 @@ Like &%bool%&, this condition turns a string into a boolean state. But where &%bool%& accepts a strict set of strings, &%bool_lax%& uses the same loose definition that the Router &%condition%& option uses. The empty string and the values &"false"&, &"no"& and &"0"& map to false, all others map to -true. +true. Leading and trailing whitespace is ignored. Note that where &"bool{00}"& is false, &"bool_lax{00}"& is true. diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index e2904ba48..9f4a63470 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.629 2010/06/07 08:23:20 pdp Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.630 2010/06/07 08:42:15 pdp Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -47,7 +47,8 @@ PP/14 Build without WITH_CONTENT_SCAN. Path from Andreas Metzler. PP/15 Bugzilla 816: support multiple condition rules on Routers. PP/16 Add bool_lax{} expansion operator and use that for combining multiple - condition rules, instead of bool{}. + condition rules, instead of bool{}. Make both bool{} and bool_lax{} + ignore trailing whitespace. Exim version 4.72 |