[Zope-Checkins] CVS: Zope2 - DA.py:1.101
Brian Lloyd
brian@digicool.com
Fri, 30 Mar 2001 11:43:42 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB
In directory korak:/home/brian/temp/mainline_test/lib/python/Shared/DC/ZRDB
Modified Files:
DA.py
Log Message:
Merged patch for parsing newline-separated params in PUT
--- Updated File DA.py in package Zope2 --
--- DA.py 2001/01/31 21:37:08 1.100
+++ DA.py 2001/03/30 16:43:40 1.101
@@ -343,7 +343,7 @@
self.dav__init(REQUEST, RESPONSE)
self.dav__simpleifhandler(REQUEST, RESPONSE, refresh=1)
body = REQUEST.get('BODY', '')
- m = re.match('\s*<params>(.*)</params>\s*\n', body, re.I)
+ m = re.match('\s*<params>(.*)</params>\s*\n', body, re.I | re.S)
if m:
self.arguments_src = m.group(1)
self._arg=parse(self.arguments_src)