mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -548,10 +548,9 @@ public final class Utils
|
|||||||
boolean homeSpaceFound = false;
|
boolean homeSpaceFound = false;
|
||||||
for (int x = 1; x < paths.size(); x++)
|
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)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user