Fix relative allowed local media paths (#45263)

This commit is contained in:
Matti4
2026-06-25 20:45:20 -07:00
committed by GitHub
parent d350fa8ddd
commit 1502cf6274
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ class MediaConnector:
self.connection = connection
if allowed_local_media_path:
allowed_local_media_path_ = Path(allowed_local_media_path)
allowed_local_media_path_ = Path(allowed_local_media_path).resolve()
if not allowed_local_media_path_.exists():
raise ValueError(