From 567bab334e394e75db0744d472dbeac52e436e7b Mon Sep 17 00:00:00 2001 From: "kenneth.skovhede@gmail.com" Date: Mon, 8 Jun 2009 22:18:45 +0000 Subject: [PATCH] Fixed a bug with the WEBDAV backend. git-svn-id: https://duplicati.googlecode.com/svn/trunk@182 59da171f-624f-0410-aa54-27559c288bec --- Duplicati/Library/Backend/WEBDAV/WEBDAV.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Backend/WEBDAV/WEBDAV.cs b/Duplicati/Library/Backend/WEBDAV/WEBDAV.cs index 7f7bc35bb..e7ab5cec2 100644 --- a/Duplicati/Library/Backend/WEBDAV/WEBDAV.cs +++ b/Duplicati/Library/Backend/WEBDAV/WEBDAV.cs @@ -105,7 +105,7 @@ namespace Duplicati.Library.Backend if (name.Length <= m_url.Length) continue; - name = System.Web.HttpUtility.UrlDecode(name.Substring(m_url.Length)); + name = System.Web.HttpUtility.UrlDecode(name.Substring(name.LastIndexOf("/") + 1)); long size = 0; DateTime lastAccess = new DateTime();