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

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


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

Modified Files:
      Tag: Zope-2_6-branch
	HTTPRequest.py 
Log Message:
collector 736 - allow marshalling tags to contain a '-' character

=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.81.2.3 => 1.81.2.4 ===
--- Zope/lib/python/ZPublisher/HTTPRequest.py:1.81.2.3	Tue Nov 12 11:06:30 2002
+++ Zope/lib/python/ZPublisher/HTTPRequest.py	Fri Dec 20 10:32:57 2002
@@ -343,7 +343,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