[Zope-Checkins] CVS: Zope/lib/python/App - Management.py:1.63

Andreas Jung andreas at andreas-jung.com
Fri Oct 17 12:21:15 EDT 2003


Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv10173

Modified Files:
	Management.py 
Log Message:
reverting patch of collector #1058 since it breaks compatibilty with some
some Zope products.


=== Zope/lib/python/App/Management.py 1.62 => 1.63 ===
--- Zope/lib/python/App/Management.py:1.62	Mon Sep 29 08:21:41 2003
+++ Zope/lib/python/App/Management.py	Fri Oct 17 12:21:14 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