[syslog-ng]Logging to Oracle - Quoting issue
Balazs Scheidler
syslog-ng@lists.balabit.hu
Tue May 10 12:05:16 CEST 2005
On Tue, 2005-05-10 at 12:55 +0200, André Bonhôte wrote:
> Just found another one: &'s don't get quoted at all. It looks like
> sqlplus will wait for a user entry (variable substitution).
>
> Example:
>
> 'mc2.fra.qmail-send: [ID 748625 mail.info] 1115721654.581305 starting
> delivery 6475704: msg 932402 to remote M&E@xxxxx.com'
>
> ...
> Enter value for e:
>
> In the meantime, I have found macros.c where all that gets defined.
> Unfortunately I don't know much C.
No, this has not yet been solved. You have to modify
macros.c:append_string() function, add support for Oracle style
escaping. I'm sorry but I currently have no time to do that myself.
--
Bazsi
More information about the syslog-ng
mailing list