https://bugs.exim.org/show_bug.cgi?id=3139

Jasen Betts <ja...@treshna.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ja...@treshna.com

--- Comment #1 from Jasen Betts <ja...@treshna.com> ---
Postgresql lookup had the same restriction, not wanting to start an argument
over whether this is secure or not I patched my copy of the source.


--- src/src/lookups/lf_sqlperform.c
+++ src/src/lookups/lf_sqlperform.c
@@ -140,7 +140,7 @@ else
     uschar * ele;
     for (int sep = ','; ele = string_nextinlist(&opts, &sep, NULL, 0); )
       if (Ustrncmp(ele, "servers=", 8) == 0)
-       { serverlist = ele + 8; break; }
+       { serverlist=expand_string(ele+8); break ; } /*JB*/
     }


I think this same patch will cover all types of query lookups

-- 
You are receiving this mail because:
You are on the CC list for the bug.

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-dev-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to