mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
63061: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3) 62574: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2) 62526: Merged DEV to V4.1-BUG-FIX (4.1.8) 59843: MNT-2258: IE's File Download box does not show a filename correctly when that have non-ASCII characters in the filename - Use legacy filename token with encoded value in "Content-Disposition" header on file download operation for IE7 too. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64249 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -634,8 +634,8 @@ public class ContentStreamer implements ResourceLoaderAware
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
String userAgent = req.getHeader(HEADER_USER_AGENT);
|
String userAgent = req.getHeader(HEADER_USER_AGENT);
|
||||||
boolean isMSIE8 = (null != userAgent) && userAgent.contains("MSIE 8");
|
boolean isLegacy = (null != userAgent) && (userAgent.contains("MSIE 8") || userAgent.contains("MSIE 7"));
|
||||||
if (isMSIE8)
|
if (isLegacy)
|
||||||
{
|
{
|
||||||
headerValue += "; filename=\"" + WebDAVHelper.encodeURL(attachFileName);
|
headerValue += "; filename=\"" + WebDAVHelper.encodeURL(attachFileName);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user