fix webdav reversion

webdav: When initializing, avoid trying to make a directory at the top of
the webdav server, which could never accomplish anything and failed on
nextcloud servers. (Reversion introduced in version 6.20170925.)

This commit was sponsored by mo on patreon.
This commit is contained in:
Joey Hess 2018-12-10 12:49:51 -04:00
parent 6b4f184222
commit 3f587d447a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 7 additions and 1 deletions

View file

@ -274,7 +274,6 @@ testDav url (Just (u, p)) = do
test $ liftIO $ evalDAVT url $ do
prepDAV user pass
makeParentDirs
void $ mkColRecursive "/"
inLocation (tmpLocation "test") $ do
putContentM (Nothing, L8.fromString "test")
delContentM