[Zope-Checkins] CVS: Zope2 - PythonScript.py:1.16.2.9
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Mon, 18 Jun 2001 13:35:03 -0400
Update of /cvs-repository/Zope2/lib/python/Products/PythonScripts
In directory serenade:/tmp/cvs-serv26263/lib/python/Products/PythonScripts
Modified Files:
Tag: zope-2_3-branch
PythonScript.py
Log Message:
Collector #2305: A comma inside an optional parameter of the
parameter string broke the ZScriptHTML_tryParams function.
--- Updated File PythonScript.py in package Zope2 --
--- PythonScript.py 2001/04/03 19:01:52 1.16.2.8
+++ PythonScript.py 2001/06/18 17:35:03 1.16.2.9
@@ -231,7 +231,7 @@
param_names = []
for name in split(self._params, ','):
name = strip(name)
- if name and name[0] != '*':
+ if name and name[0] != '*' and re.match("\w",name):
param_names.append(split(name, '=', 1)[0])
return param_names