[Zope-Checkins] CVS: Zope/lib/python/App - Management.py:1.61.68.2
Andreas Jung
andreas at andreas-jung.com
Fri Oct 17 12:37:36 EDT 2003
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv13192
Modified Files:
Tag: Zope-2_7-branch
Management.py
Log Message:
reverting to revision 1.61 (backing out patch of collector #1058) since
it breaks compatibilty for several zope products
=== Zope/lib/python/App/Management.py 1.61.68.1 => 1.61.68.2 ===
--- Zope/lib/python/App/Management.py:1.61.68.1 Mon Sep 29 08:21:49 2003
+++ Zope/lib/python/App/Management.py Fri Oct 17 12:37:35 2003
@@ -75,11 +75,9 @@
raise Unauthorized, (
'You are not authorized to view this object.')
- if m.find('/') >= 0:
- # 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))
+ if m.find('/'):
+ raise 'Redirect', (
+ "%s/%s" % (REQUEST['URL1'], m))
return getattr(self, m)(self, REQUEST)
More information about the Zope-Checkins
mailing list