aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank H <58829855+howie-f@users.noreply.github.com>2022-12-13 06:16:05 +0100
committerGitHub <noreply@github.com>2022-12-13 06:16:05 +0100
commit5fba721213181cd36e8837858444375d285cfddb (patch)
treed89ffcf21ba1ee35fe00c590ca35976169330673
parent813a194c4e8d3f9bcfd4c18b04be0fd596036f84 (diff)
parent1efa67aa5df0e7746c90c5b2b11a01c46432b24d (diff)
Merge pull request #21475 from strugee/webdav-passwords-matrix
[Security] [Backport] Use passwords.xml for more protocols
-rw-r--r--xbmc/PasswordManager.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/xbmc/PasswordManager.cpp b/xbmc/PasswordManager.cpp
index bc03169bfd..fbc87e0e0d 100644
--- a/xbmc/PasswordManager.cpp
+++ b/xbmc/PasswordManager.cpp
@@ -118,7 +118,13 @@ bool CPasswordManager::IsURLSupported(const CURL &url)
{
return url.IsProtocol("smb")
|| url.IsProtocol("nfs")
- || url.IsProtocol("sftp");
+ || url.IsProtocol("ftp")
+ || url.IsProtocol("ftps")
+ || url.IsProtocol("sftp")
+ || url.IsProtocol("http")
+ || url.IsProtocol("https")
+ || url.IsProtocol("dav")
+ || url.IsProtocol("davs");
}
void CPasswordManager::Clear()