Re: [Sqlalchemy-tickets] [sqlalchemy] #2821: Engine.__repr__ should censor out password
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-09-06 18:04:18
|
#2821: Engine.__repr__ should censor out password
------------------------------+----------------------------------
Reporter: gthb | Owner: zzzeek
Type: enhancement | Status: new
Priority: high | Milestone: 0.8.xx
Component: engine | Severity: minor - half an hour
Resolution: | Keywords:
Progress State: in progress |
------------------------------+----------------------------------
Changes (by zzzeek):
* priority: medium => high
* status_field: awaiting triage => in progress
* severity: no triage selected yet => minor - half an hour
* milestone: => 0.8.xx
Comment:
ok, take a look at what alembic does here:
https://bitbucket.org/zzzeek/alembic/src/3b86868a6f8ebc77f9cba031ca524795556f9e67/alembic/command.py?at=master#cl-221
so we do something like that in URL.__repr__. send me a pullreq on
github/bitbu... a pull request is coming in! look at that. Will try to
merge it later tonight...thanks!
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2821#comment:1>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|