aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Fedchin <afedchin@users.noreply.github.com>2018-03-28 17:19:30 +0300
committerGitHub <noreply@github.com>2018-03-28 17:19:30 +0300
commit8c320c2d17615bbb471468d308f014dfebd5b396 (patch)
treec764a133af1628d3a49ca40f496f4127a4085cdb
parent1f58160770097aa43b1d9fcbaa4117e47258ff63 (diff)
parent1df6cce905f8bac046c07ef1f644fb954c9ec751 (diff)
Merge pull request #13705 from afedchin/win10-url
[xbmc] URL: handle win-lib:// path as a local resource.
-rw-r--r--xbmc/URL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/URL.cpp b/xbmc/URL.cpp
index 3e38c7788f..535e8170c2 100644
--- a/xbmc/URL.cpp
+++ b/xbmc/URL.cpp
@@ -631,7 +631,7 @@ std::string CURL::GetRedacted(const std::string& path)
bool CURL::IsLocal() const
{
- return (m_strProtocol.empty() || IsLocalHost());
+ return (m_strProtocol.empty() || IsLocalHost() || IsProtocol("win-lib"));
}
bool CURL::IsLocalHost() const