projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de7758
)
fixed: For Webdav set the PROPFIND custom request header else we may return false...
author
arnova
<arnova@void.org>
Mon, 28 Jan 2013 18:45:10 +0000
(19:45 +0100)
committer
arnova
<arnova@void.org>
Mon, 28 Jan 2013 19:03:49 +0000
(20:03 +0100)
xbmc/filesystem/DAVDirectory.cpp
patch
|
blob
|
history
diff --git
a/xbmc/filesystem/DAVDirectory.cpp
b/xbmc/filesystem/DAVDirectory.cpp
index
db3fd44
..
f53c0fa
100644
(file)
--- a/
xbmc/filesystem/DAVDirectory.cpp
+++ b/
xbmc/filesystem/DAVDirectory.cpp
@@
-250,6
+250,12
@@
bool CDAVDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items
bool CDAVDirectory::Exists(const char* strPath)
{
CCurlFile dav;
+
+ // Set the PROPFIND custom request else we may not find folders, depending
+ // on the server's configuration
+ CStdString strRequest = "PROPFIND";
+ dav.SetCustomRequest(strRequest);
+
CURL url(strPath);
return dav.Exists(url);
}