Fix to client-side webdav URL generation (was incorrectly encoding the "/" path separator)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-09 12:42:18 +00:00
parent f238d5b2d1
commit 3857aec86b

View File

@@ -548,10 +548,9 @@ public final class Utils
boolean homeSpaceFound = false;
for (int x = 1; x < paths.size(); x++)
{
path.append("/").append(paths.get(x).getName());
path.append("/").append(
Utils.replace(URLEncoder.encode(paths.get(x).getName(), "UTF-8"), "+", "%20"));
}
url = Utils.replace(URLEncoder.encode(path.toString(), "UTF-8"), "+", "%20");
}
catch (Exception e)
{