Filip Rembiałkowski wrote: > > Hi trac developers :) > > we have just wasted a day of our deploy manager time :) > > so I decided to let you know, that trac is broken under following > conditions: > > - using postgresql 8.2 or later with configuration setting > standard_conforming_strings = on > > symptoms: > > '\r\n' inside wiki text, and all multiline text inside database...
Hi Filip, You're using the pyPgSQL module right? I was able to reproduce this issue with pyPgSQL but not with psycopg2. As far as I can tell this is bug in pyPgSQL and not in Trac, since Trac passes all string values as bind parameters to the driver which is supposed to escape them correctly. So right now psycopg2 is your only choice if you want to set "standard_comforming_strings" to "on". http://pypi.python.org/pypi/psycopg2 Cheers, Jonas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
