Commit e47e14ec authored by Martijn Pieters's avatar Martijn Pieters

Escape the other REQUEST-sourced value as well.

parent 7489b1af
......@@ -84,7 +84,8 @@ class ZCTextIndex(Persistent, Acquisition.Implicit, SimpleItem):
if index_factory is None:
if extra.index_type not in index_types.keys():
raise ValueError, 'Invalid index type "%s"' % extra.index_type
raise ValueError, 'Invalid index type "%s"' % escape(
extra.index_type)
self._index_factory = index_types[extra.index_type]
self._index_type = extra.index_type
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment