Merged DEV to HEAD (4.2.0)

55320 : ALF-19583 : IE9: SlideShare icon isn't displayed on Channel Manager page
      - Using file extension without point.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55379 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Pavel Yurke
2013-09-17 07:50:12 +00:00
parent 2378f54566
commit ce1a339300

View File

@@ -88,7 +88,7 @@ public class ChannelTypeIconGetWebScript extends AbstractWebScript
String ext = MimetypeMap.EXTENSION_BINARY;
if (lastDot != -1 && lastDot < (filename.length()-1))
{
ext = filename.substring(lastDot);
ext = filename.substring(lastDot + 1);
}
String mimeType = mimetypeService.getMimetype(ext);
res.setContentType(mimeType);