Commit 50af91f9 authored by Andreas Jung's avatar Andreas Jung

reverting patch of collector #1058 since it breaks compatibilty with some

some Zope products.
parent 806a9497
......@@ -13,9 +13,9 @@
"""Standard management interface support
$Id: Management.py,v 1.62 2003/09/29 12:21:41 andreasjung Exp $"""
$Id: Management.py,v 1.63 2003/10/17 16:21:14 andreasjung Exp $"""
__version__='$Revision: 1.62 $'[11:-2]
__version__='$Revision: 1.63 $'[11:-2]
import sys, Globals, ExtensionClass, urllib
from Dialogs import MessageDialog
......@@ -75,11 +75,9 @@ class Tabs(ExtensionClass.Base):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment