Log message for revision 40985:
  Harden REQUEST __repr__.
  

Changed:
  U   Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py

-=-
Modified: Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py
===================================================================
--- Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py      2005-12-22 
15:49:47 UTC (rev 40984)
+++ Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py      2005-12-22 
18:26:50 UTC (rev 40985)
@@ -1293,7 +1293,7 @@
         return result+"</table>"
 
     def __repr__(self):
-        return "<%s, URL=%s>" % (self.__class__.__name__, self['URL'])
+        return "<%s, URL=%s>" % (self.__class__.__name__, self.get('URL'))
 
     def text(self):
         result="FORM\n\n"

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to