[exim-dev] Ping about SQL escaping bug

Góra strony
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
Dla: exim-dev
Temat: [exim-dev] Ping about SQL escaping bug
Hej,
I just wanted to ask about your opinion on
<http://www.exim.org/bugzilla/show_bug.cgi?id=107>. - I have never
used MySQL or PostgreSQL with exim and actually have no idea how much
stuff does break when the SQL server rejects \' (which recent version
of MySQL and PostgreSQL do afaik.)

There is a band aid patch by Martin Pitt on
<http://patches.ubuntu.com/patches/exim4.sql_quote_escaping.diff>, but
it has been suggested to use PQescapeStringConn() and
mysql_real_escape() in longterm.

sorry for being obnoxious, cu andreas