• 's avatar
    fixed regression in Unauthorized handling: · 7b65910f
    authored
    In previous Zope versions string exceptions were used and all exceptions
    re-raised. This doesn't work with each kind of exception, but we can still do
    it with Unauthorized exceptions. This way the special handling for Unauthorized
    exceptions works again, HTTPResponse._unauthorized is called again. This is now
    done after rendering to make sure we don't break logging and custom views.
    7b65910f
testExceptionHook.py 15.2 KB