[ZPT] CVS: Zope/lib/python/Products/PageTemplates - Expressions.py:1.36.6.5

Casey Duncan casey@zope.com
Fri, 20 Sep 2002 15:53:17 -0400


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv9614

Modified Files:
      Tag: Zope-2_6-branch
	Expressions.py 
Log Message:
Added explicit str to path elements in restrictedTraverse since non-ascii chars are not allowed in ids, and the C security machinery does not accept them currently.


=== Zope/lib/python/Products/PageTemplates/Expressions.py 1.36.6.4 => 1.36.6.5 ===
--- Zope/lib/python/Products/PageTemplates/Expressions.py:1.36.6.4	Thu Sep 19 10:45:11 2002
+++ Zope/lib/python/Products/PageTemplates/Expressions.py	Fri Sep 20 15:53:16 2002
@@ -304,7 +304,7 @@
     validate = securityManager.validate
     __traceback_info__ = REQUEST
     while path:
-        name = path.pop()
+        name = str(path.pop())
 
         if isinstance(name, TupleType):
             object = object(*name)