diff options
author | Riaas Mokiem <riaas@arucard.duwo.lan> | 2014-08-24 19:07:43 +0200 |
---|---|---|
committer | Riaas Mokiem <riaas@arucard.duwo.lan> | 2014-08-24 19:07:43 +0200 |
commit | 8b20fd7a39349310080cf20caefe26d494252c4a (patch) | |
tree | 419533b032ecb66e2340486953a37ebff524ce51 | |
parent | 879b95349a87dfd5abdf22fd866dbd7b1f9aca5b (diff) |
Added SFTP to the check for internet streams as a "special case" (similar to ftp/ftps)
-rw-r--r-- | xbmc/utils/URIUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/utils/URIUtils.cpp b/xbmc/utils/URIUtils.cpp index 8278867720..6346ceece3 100644 --- a/xbmc/utils/URIUtils.cpp +++ b/xbmc/utils/URIUtils.cpp @@ -842,7 +842,8 @@ bool URIUtils::IsInternetStream(const CURL& url, bool bStrictCheck /* = false */ // Special case these if (url.IsProtocol("ftp") || url.IsProtocol("ftps") || - url.IsProtocol("dav") || url.IsProtocol("davs")) + url.IsProtocol("dav") || url.IsProtocol("davs") || + url.IsProtocol("sftp")) return bStrictCheck; std::string protocol = url.GetTranslatedProtocol(); |