mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Add extra check for tuple length to avoid out of range error in Frontend resolver (#66470)
This commit is contained in:
@@ -533,6 +533,7 @@ class IndexView(web_urldispatcher.AbstractResource):
|
||||
"""
|
||||
if (
|
||||
request.path != "/"
|
||||
and len(request.url.parts) > 1
|
||||
and request.url.parts[1] not in self.hass.data[DATA_PANELS]
|
||||
):
|
||||
return None, set()
|
||||
|
Reference in New Issue
Block a user