[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - configure.zcml:1.2

Steve Alexander steve@cat-box.net
Wed, 12 Mar 2003 05:11:45 -0500


Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv12381/src/zope/app/pagetemplate

Modified Files:
	configure.zcml 
Log Message:
__repr__ is now always allowed by security checkers.
This is important because you can always get around a restriction
on __repr__ by putting the object inside a tuple, dict or list, and
calling __repr__ on the tuple, dict, or list.

We discovered at Rotterdam that it is painful and non-intuitive to
protect __repr__ on tuples, dicts and lists.

So, it is better to make __repr__ publicly and obviously available.


=== Zope3/src/zope/app/pagetemplate/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/pagetemplate/configure.zcml:1.1	Tue Dec 31 13:26:57 2002
+++ Zope3/src/zope/app/pagetemplate/configure.zcml	Wed Mar 12 05:11:13 2003
@@ -1,7 +1,7 @@
 <zopeConfigure xmlns='http://namespaces.zope.org/zope'>
 
   <content class=".viewpagetemplatefile.BoundPageTemplate">
-    <allow attributes="__call__ __str__ __repr__ __name__" />
+    <allow attributes="__call__ __str__ __name__" />
   </content>
 
 </zopeConfigure>