[Zope-Checkins] CVS: Zope/lib/python/App - Management.py:1.61.6.2
Andreas Jung
andreas at andreas-jung.com
Fri Oct 17 12:41:49 EDT 2003
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv13841/lib/python/App
Modified Files:
Tag: Zope-2_6-branch
Management.py
Log Message:
reverting to revision 1.6.1 (backing out patch of collector #1058)
since it break compatibility for several zope products.
=== Zope/lib/python/App/Management.py 1.61.6.1 => 1.61.6.2 ===
--- Zope/lib/python/App/Management.py:1.61.6.1 Mon Sep 29 08:22:10 2003
+++ Zope/lib/python/App/Management.py Fri Oct 17 12:41:49 2003
@@ -75,11 +75,10 @@
raise Unauthorized, (
'You are not authorized to view this object.')
- if m.find('/') >= 0:
+ if m.find('/'):
# DM: let absolute URLs work (as generated by
# "OFS.PropertySheets.PropertySheets.manage_options")
- prefix= m.startswith('/') and REQUEST['BASE0'] or REQUEST['URL1']
- raise 'Redirect', ( "%s/%s" % (prefix, m))
+ raise 'Redirect', ( "%s/%s" % (REQUEST['URL1'], m))
return getattr(self, m)(self, REQUEST)
More information about the Zope-Checkins
mailing list