[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex - ZCTextIndex.py:1.35.2.1
Casey Duncan
casey@zope.com
Thu, 24 Oct 2002 09:46:17 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv16542
Modified Files:
Tag: Zope-2_6-branch
ZCTextIndex.py
Log Message:
Collector #640: Fix security assertion on query method
=== Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py 1.35 => 1.35.2.1 ===
--- Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py:1.35 Thu Sep 5 16:41:13 2002
+++ Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py Thu Oct 24 09:46:16 2002
@@ -130,7 +130,7 @@
## External methods not in the Pluggable Index API ##
- security.declareProtected('query', search_zcatalog)
+ security.declareProtected(search_zcatalog, 'query')
def query(self, query, nbest=10):
"""Return pair (mapping from docids to scores, num results).