#2907: unicode merge broke PostgreSQL support
--------------------------------+-------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  jonas
     Type:  defect              |       Status:  new  
 Priority:  normal              |    Milestone:       
Component:  general             |      Version:  devel
 Severity:  normal              |   Resolution:       
 Keywords:                      |  
--------------------------------+-------------------------------------------
Comment (by mgood):

 Um, no.  The docstring for `unicode_quote` is ''"A unicode aware version
 of urllib.quote"'', meaning it's made for quoting characters for use in
 URLs, it is not meant for quoting values for using in DB queries.

 The quoting of SQL parameters should be handled by the DB module, so if a
 particular module doesn't handle unicode values correctly it will need
 worked around in "trac.db", not throughout the application code.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2907>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to