What steps will reproduce the problem?
1.
Just have somebody in the server-side list with backslash as the last
symbol of ICQ nickname. Buddy\ for example.
pyicq-t-0.8b
the fix is almost trivial:
10a11
> import re
191c192
< c.execute("INSERT INTO
list_attributes(owner,type,jid,attribute,value) VALUES('%s','%s','%s','%s
','%s')" % (jabberID, type, legacyID, p, payload[p].replace("'", "\\'")))
---
> c.execute("INSERT INTO
list_attributes(owner,type,jid,attribute,value) VALUES('%s','%s','%s','%s
','%s')" % (jabberID, type, legacyID, p, re.escape(payload[p].replace("'",
"\\'"))))
Original issue reported on code.google.com by buratino...@gmail.com on 11 Mar 2008 at 1:10
Original issue reported on code.google.com by
buratino...@gmail.com
on 11 Mar 2008 at 1:10