[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - HTTPRequest.py:1.1.2.29

Jim Fulton jim@zope.com
Mon, 10 Jun 2002 10:51:48 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv30254/lib/python/Zope/Publisher/HTTP

Modified Files:
      Tag: Zope-3x-branch
	HTTPRequest.py 
Log Message:
Implemented:

http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/PathNamespaceQualificationSyntax

without a short-hand syntax for the creation namespace which may go
away.



=== Zope3/lib/python/Zope/Publisher/HTTP/HTTPRequest.py 1.1.2.28 => 1.1.2.29 ===
                 raise IndexError, level 
             names = names[:-level]
-        names = [quote(name, safe='/;:') for name in names]
+        names = [quote(name, safe='/+@') for name in names]
 
         if path_only:
             if not names: return '/'
@@ -435,7 +435,7 @@
         else:
             names = self._app_names
             
-        names =  [quote(name, safe='/;:') for name in names]
+        names =  [quote(name, safe='/+@') for name in names]
 
         if path_only:
             return names and ('/' + '/'.join(names)) or '/'