ALF-10775 - Thumbnail is not created created for duplicate files uploaded via email

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31269 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2011-10-17 10:36:31 +00:00
parent 3615b03a74
commit 586e3533d6
3 changed files with 74 additions and 14 deletions

View File

@@ -465,11 +465,12 @@ public class SubethaEmailMessage implements EmailMessage
* @param subject String representing subject
* @return Encoded string
*/
// MER Removed . * , { ".", "%2e" }
static private String encodeSubject(String subject)
{
String result = subject.trim();
String[][] s = new String[][] { { "\\", "%5c" }, { "/", "%2f" }, { "*", "%2a" }, { "|", "%7c" }, { ":", "%3a" }, { "\"", "%22" }, { "<", "%3c" }, { ">", "%3e" },
{ "?", "%3f" }, { ".", "%2e" } };
{ "?", "%3f" }};
for (int i = 0; i < s.length; i++)
{