Increase middleware range

This commit is contained in:
Mike Degatano 2023-03-27 12:08:01 -04:00
parent 75b3ebec7c
commit cede47e95c

View File

@ -297,7 +297,7 @@ class SecurityMiddleware(CoreSysAttributes):
elif key == b"X-Ingress-Path":
ingress_request = True
if user_request or admin_request:
if (user_request or admin_request) and not ingress_request:
return await handler(request)
is_proxy_request = (