[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher - BaseRequest.py:1.1.2.21

Jim Fulton jim@zope.com
Fri, 8 Feb 2002 18:21:38 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	BaseRequest.py 
Log Message:
Dang, the base href needed the trailing slash.


=== Zope3/lib/python/Zope/Publisher/BaseRequest.py 1.1.2.20 => 1.1.2.21 ===
             eurl = self.effective_url
             l = eurl.rfind('/')
-            if l >= 0: eurl = eurl[:l] # XXX Quick bug fix, need better impl
+            if l >= 0: eurl = eurl[:l+1] # XXX Quick bug fix, need better impl
             self.response.setBase(eurl)
 
         self.traversed = tuple(traversed)  # No more changes allowed