From 1efa67aa5df0e7746c90c5b2b11a01c46432b24d Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Fri, 12 Feb 2021 02:37:51 -0500 Subject: [network] Use passwords.xml for more protocols Ref #18241 Ref osmc/osmc#422 Backported from 19f0e1cd1af5f473cfad1191f4ad37161fdc6d0f, PR #19217 --- xbmc/PasswordManager.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3