mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Fix downloader path validation on subdir (#46061)
This commit is contained in:
@@ -70,6 +70,7 @@ def setup(hass, config):
|
|||||||
|
|
||||||
overwrite = service.data.get(ATTR_OVERWRITE)
|
overwrite = service.data.get(ATTR_OVERWRITE)
|
||||||
|
|
||||||
|
if subdir:
|
||||||
# Check the path
|
# Check the path
|
||||||
raise_if_invalid_path(subdir)
|
raise_if_invalid_path(subdir)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user