Re: [Zope-dev] SVN: Zope/branches/2.12/ Correctly handle unauthorized exceptions in the ZPublisherExceptionHook.

2009-07-10 Thread Hanno Schlichting
Hi. I'm not sure how exactly to approach this. The code in the ZPublisherExceptionHook reads: def __call__(self, published, REQUEST, t, v, traceback): try: if isinstance(t, StringType): if t.lower() in ('unauthorized', 'redirect'): raise else:

Re: [Zope-dev] SVN: Zope/branches/2.12/ Correctly handle unauthorized exceptions in the ZPublisherExceptionHook.

2009-07-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hanno Schlichting wrote: Log message for revision 101181: Correctly handle unauthorized exceptions in the ZPublisherExceptionHook. Modified: Zope/branches/2.12/src/Zope2/App/startup.py