Bugs item #1551880, was opened at 2006-09-04 14:54
Message generated for change (Comment added) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1551880&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: DBM
Group: SQLObject release (specify)
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Oleg Broytmann (phd)
Summary: broken uri for user with password
Initial Comment:
The uri-Method of DBConnection swaps @ and : for uris with user and
password
Example:
connection_string = 'postgres://user:password@localhost/database'
print connectionForURI(connection_string).uri()
-> postgres://user@password:localhost/database
Version:
lib/python2.4/site-packages/SQLObject-0.7.1b1-py2.4.egg/sqlobject/
dbconnection.py
----------------------------------------------------------------------
>Comment By: Oleg Broytmann (phd)
Date: 2006-09-04 19:11
Message:
Logged In: YES
user_id=4799
This has been fixed already:
from sqlobject import connectionForURI
conn = connectionForURI("postgres://user:password@host/db")
print conn.uri()
=> postgres://user:password@host/db
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1551880&group_id=74338
|