1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

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 = (