Re: [exim] value with colon in SQL lookup gets truncated

Top Pagina
Delete this message
Reply to this message
Auteur: Evgeniy Berdnikov
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] value with colon in SQL lookup gets truncated
On Tue, Feb 16, 2016 at 11:04:25AM +0100, Paul Slootman wrote:
> I first thought I had forgotten to use the quote_mysql thing to
> prevent SQL injection, but that's not the case. The debug output shows
> that the string is expanded correctly, but when the expansion is
> actually used, the colon and everything after it is removed:


Probably ":" is treated as a list separator.

See http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_run_time_configuration_file.html
chapter 20, "Changing list separators".
--
Eugene Berdnikov