From 8dfb0cb4e7da11c599f90414d0f98ea28a6c2e87 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 5 Jul 2022 23:09:33 -0500 Subject: [PATCH] Fix SIGN_QUERY_PARAM in check in auth_middleware (#74479) --- homeassistant/components/http/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/http/auth.py b/homeassistant/components/http/auth.py index 09ef6e13e03..18f68cc386f 100644 --- a/homeassistant/components/http/auth.py +++ b/homeassistant/components/http/auth.py @@ -218,7 +218,7 @@ async def async_setup_auth(hass: HomeAssistant, app: Application) -> None: # for every request. elif ( request.method == "GET" - and SIGN_QUERY_PARAM in request.query + and SIGN_QUERY_PARAM in request.query_string and await async_validate_signed_request(request) ): authenticated = True