[Zope-Checkins] CVS: Packages/ZPublisher - HTTPRequest.py:1.94

Evan Simpson evan at 4-am.com
Wed Dec 10 12:52:48 EST 2003


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

Modified Files:
	HTTPRequest.py 
Log Message:
Collector #809: Added and documented Traversable.py methods absolute_url_path and virtual_url_path, and reverted earlier change to absolute_url behaviour.


=== Packages/ZPublisher/HTTPRequest.py 1.93 => 1.94 ===
--- Packages/ZPublisher/HTTPRequest.py:1.93	Tue Nov 18 08:17:17 2003
+++ Packages/ZPublisher/HTTPRequest.py	Wed Dec 10 12:52:47 2003
@@ -1149,7 +1149,7 @@
                     v.insert(0, '')
                 else:
                     v.insert(0, other['SERVER_URL'])
-                URL = '/'.join(v)
+                URL = '/'.join(v) or '/'
                 if other.has_key('PUBLISHED'):
                     # Don't cache URLs until publishing traversal is done.
                     other[key] = URL




More information about the Zope-Checkins mailing list