[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPRequest.py:1.86

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 20 Dec 2002 10:34:49 -0500


Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv12578

Modified Files:
	HTTPRequest.py 
Log Message:
collector 736 - allow marshalling tags to contain a '-' character

=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.85 => 1.86 ===
--- Zope/lib/python/ZPublisher/HTTPRequest.py:1.85	Sat Nov 30 04:18:40 2002
+++ Zope/lib/python/ZPublisher/HTTPRequest.py	Fri Dec 20 10:34:48 2002
@@ -339,7 +339,7 @@
         hasattr=hasattr,
         getattr=getattr,
         setattr=setattr,
-        search_type=re.compile('(:[a-zA-Z][a-zA-Z0-9_]+|\\.[xy])$').search,
+        search_type=re.compile('(:[a-zA-Z][-a-zA-Z0-9_]+|\\.[xy])$').search,
         ):
         """Process request inputs