diff --git a/plugins/router_spnego/router_spnego.c b/plugins/router_spnego/router_spnego.c index 9f872969..8ae40b71 100644 --- a/plugins/router_spnego/router_spnego.c +++ b/plugins/router_spnego/router_spnego.c @@ -217,6 +217,7 @@ forbidden: uwsgi_response_write_body_do(wsgi_req, "Unauthorized", 12); end: + if (ur->custom) return UWSGI_ROUTE_NEXT; return UWSGI_ROUTE_BREAK; }