[Zope-Checkins] CVS: Zope/lib/python/Products/PageTemplates -
Expressions.py:1.43.44.3
Jim Fulton
jim at zope.com
Fri Jan 16 16:05:34 EST 2004
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv17159/lib/python/Products/PageTemplates
Modified Files:
Tag: Zope-2_7-branch
Expressions.py
Log Message:
Reverted a change that suppressed passing names to validate when doing
item access.
=== Zope/lib/python/Products/PageTemplates/Expressions.py 1.43.44.2 => 1.43.44.3 ===
--- Zope/lib/python/Products/PageTemplates/Expressions.py:1.43.44.2 Thu Jan 8 18:33:49 2004
+++ Zope/lib/python/Products/PageTemplates/Expressions.py Fri Jan 16 16:05:01 2004
@@ -307,7 +307,7 @@
# Skip directly to item access
o = object[name]
# Check access to the item.
- if not validate(object, object, None, o):
+ if not validate(object, object, name, o):
raise Unauthorized, name
object = o
continue
@@ -362,7 +362,7 @@
raise
else:
# Check access to the item.
- if not validate(object, object, None, o):
+ if not validate(object, object, name, o):
raise Unauthorized, name
object = o
More information about the Zope-Checkins
mailing list