Skip to content

Commit

Permalink
CURL::IsFullPath() should return true for UNC paths, which seem to wo…
Browse files Browse the repository at this point in the history
…rk (perhaps by coincidence)
  • Loading branch information
Jonathan Marshall committed May 10, 2012
1 parent 1eb2bd3 commit 937e5f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/URL.cpp
Expand Up @@ -656,6 +656,7 @@ bool CURL::IsFullPath(const CStdString &url)
if (url.size() && url[0] == '/') return true; // /foo/bar.ext
if (url.Find("://") >= 0) return true; // foo://bar.ext
if (url.size() > 1 && url[1] == ':') return true; // c:\\foo\\bar\\bar.ext
if (url.compare(0,2,"\\\\") == 0) return true; // \\UNC\path\to\file
return false;
}

Expand Down

0 comments on commit 937e5f4

Please sign in to comment.