mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix to URLEncoder issues with UTF-8 characters for download content links and WebDav generated links
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package org.alfresco.web.ui.common;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URLEncoder;
|
||||
import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
@@ -511,7 +512,7 @@ public final class Utils
|
||||
path.append("/").append(paths.get(x).getName());
|
||||
}
|
||||
|
||||
url = path.toString();
|
||||
url = Utils.replace(URLEncoder.encode(path.toString(), "UTF-8"), "+", "%20");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user