
Nov. 21, 2002
4:39 a.m.
The 'safe' function in twisted.enterprise.adbapi escapes single quotes, but I know at least Postgres and MySQL also accept backslash escapes, which means embedded backslashes need to be escaped as well, or they will be removed. The attached patch escapes embedded backslashes. I haven't tested it on databases other than Postgres or MySQL. dave