From a34a9a7aba3b08c072627087baac007ec958afd4 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 22 Oct 2023 11:21:09 +0100 Subject: [PATCH] Add SFTP as trustable web protocol --- syncplay/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index ffa16bc..f5b7d98 100755 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -351,7 +351,7 @@ SYNCPLAY_DOWNLOAD_URL = "https://syncplay.pl/download/" SYNCPLAY_PUBLIC_SERVER_LIST_URL = "https://syncplay.pl/listpublicservers?{}" # Params DEFAULT_TRUSTED_DOMAINS = ["youtube.com", "youtu.be"] -TRUSTABLE_WEB_PROTOCOLS = ["http", "https"] +TRUSTABLE_WEB_PROTOCOLS = ["http", "https", "sftp"] PRIVATE_FILE_FIELDS = ["path"]