Python OpenID library - unicode problem (w/patch)
Kevin Turner
kevin at janrain.com
Thu May 15 17:29:52 PDT 2008
2008/5/5 Marek Kuziel <marek.kuziel at gmail.com>:
> If any of the arguments
> for SQL query is unicode, it is not being handled correctly. Debug
> code from Django showed that any unicode arguments do not have single
> quotes around them in the generated SQL queries.
That sounds suspiciously like a bug in your database backend. Why would it
ever be correct for it to not quote the arguments when it generates SQL? On
the other hand, you're not the only one who's observed this, and your patch
should be safe for the data that sqlstore is putting in it. Thanks!
- Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080515/f2f37b5a/attachment-0001.htm
More information about the Dev
mailing list