[PATCH] MySQL Escape String (another one)

Donald Jackson donaldjster at gmail.com
Fri Aug 7 12:00:03 CEST 2009


Hi everyone,
Just posting this patch in case anyone wants to use it. It escapes the
source address string to make it MySQL safe on the connection.

In hindsight possibly not perfect implementation but it does the job.

Thanks,
-- 
Donald Jackson
http://www.ddj.co.za/
donaldjster(a)gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.kannel.org/pipermail/devel/attachments/20090807/864d8235/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlr_escape.patch
Type: application/octet-stream
Size: 5198 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/devel/attachments/20090807/864d8235/attachment.obj>


More information about the devel mailing list