summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Remote/WebDAV.hs2
-rw-r--r--Remote/WebDAV/DavLocation.hs2
-rw-r--r--debian/changelog2
3 files changed, 4 insertions, 2 deletions
diff --git a/Remote/WebDAV.hs b/Remote/WebDAV.hs
index 87df16e93..a135be466 100644
--- a/Remote/WebDAV.hs
+++ b/Remote/WebDAV.hs
@@ -339,7 +339,7 @@ storeLegacyChunked chunksize k dav b =
finalizer tmp' dest' = goDAV dav $
finalizeStore (baseURL dav) tmp' (fromJust $ locationParent dest')
- tmp = keyTmpLocation k
+ tmp = addTrailingPathSeparator $ keyTmpLocation k
dest = keyLocation k
retrieveLegacyChunked :: DavHandle -> Retriever
diff --git a/Remote/WebDAV/DavLocation.hs b/Remote/WebDAV/DavLocation.hs
index 1397ae57e..e0e184686 100644
--- a/Remote/WebDAV/DavLocation.hs
+++ b/Remote/WebDAV/DavLocation.hs
@@ -44,7 +44,7 @@ keyLocation k = keyDir k ++ keyFile k
{- Where we store temporary data for a key as it's being uploaded. -}
keyTmpLocation :: Key -> DavLocation
-keyTmpLocation = addTrailingPathSeparator . tmpLocation . keyFile
+keyTmpLocation = tmpLocation . keyFile
tmpLocation :: FilePath -> DavLocation
tmpLocation f = tmpDir </> f
diff --git a/debian/changelog b/debian/changelog
index 6340888cd..fca0e1564 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ git-annex (6.20160127) UNRELEASED; urgency=medium
submodule.
* WebDAV: Set depth 1 in PROPFIND request, for better compatability with
some servers. Thanks, wzhd.
+ * WebDAV: Remove a bogus trailing slash from the end of the url to the
+ temporary store location for a key. Thanks, wzhd.
-- Joey Hess <id@joeyh.name> Thu, 28 Jan 2016 13:53:09 -0400