MNT-16942 : Unknown mimetype when using Upload New Version action.

- changed the mimetype to lowercase

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ramona Neamtu
2016-11-17 10:22:45 +00:00
parent 13fc175c56
commit a2b7f645d3

View File

@@ -3923,7 +3923,7 @@ public class ScriptNode implements Scopeable, NamespacePrefixResolverProvider
InputStream is = null;
if (applyMimetype)
{
writer.setMimetype(content.getMimetype());
writer.setMimetype(content.getMimetype().toLowerCase());
}
if (guessEncoding)
{