Log message for revision 96952: - Launchpad ##332168: Connection.py: do not expose DB connection strings through exceptions
Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt =================================================================== --- Zope/branches/2.9/doc/CHANGES.txt 2009-02-21 15:28:09 UTC (rev 96951) +++ Zope/branches/2.9/doc/CHANGES.txt 2009-02-21 15:30:14 UTC (rev 96952) @@ -8,6 +8,9 @@ Bugs fixed + - Launchpad ##332168: Connection.py: do not expose DB connection strings + through exceptions + Zope 2.9.10 (2008/10/24) Bugs fixed Modified: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py =================================================================== --- Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py 2009-02-21 15:28:09 UTC (rev 96951) +++ Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py 2009-02-21 15:30:14 UTC (rev 96952) @@ -180,9 +180,9 @@ except: t, v, tb = sys.exc_info() raise BadRequest, ( - '<strong>Invalid connection string: </strong><CODE>%s</CODE><br>\n' + '<strong>Error connecting to DB.</strong><br>\n' '<!--\n%s\n%s\n-->\n' - % (s,t,v)), tb + % (t,v)), tb finally: tb=None self._v_connected=DateTime() _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins