• 's avatar
    fixed regression in Unauthorized handling: · ef651b61
    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.
    ef651b61
startup.py 12.2 KB