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

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


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

Modified Files:
      Tag: Zope-2_7-branch
	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.90.2.3 => 1.90.2.4 ===
--- Packages/ZPublisher/HTTPRequest.py:1.90.2.3	Mon Nov 17 17:34:19 2003
+++ Packages/ZPublisher/HTTPRequest.py	Wed Dec 10 12:53:33 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