Commit dddb86e8 authored by Andreas Jung's avatar Andreas Jung

Fix for Collector #2206: strip() id first

parent d44dd7e8
......@@ -84,7 +84,7 @@
##############################################################################
"""Property management"""
__version__='$Revision: 1.38 $'[11:-2]
__version__='$Revision: 1.39 $'[11:-2]
import ExtensionClass, Globals
import ZDOM
......@@ -238,6 +238,8 @@ class PropertyManager(ExtensionClass.Base, ZDOM.ElementWithAttributes):
# for selection and multiple selection properties
# the value argument indicates the select variable
# of the property
id=id.strip()
self._wrapperCheck(value)
if not self.valid_property_id(id):
raise 'Bad Request', 'Invalid or duplicate property id'
......
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