mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
12895: Merged DEV/LIVECYCLE-3.1 to V3.1 12858: Merged V2.1-A to DEV/LIVECYCLE-3.1 8275: *Record Only* Bootstrap and patch for Office add-in installers into Adobe repo 8276: *Record Only* Forgot to bump the schema number after officeAddin patch commit 8665: *Record Only* Added favicon.ico. Added two <link> tags to PageTag.java - both required so that old IE versions are supported. 9064: ACT 2836 - Office plugins not able to autheticate properly with LiveCycle Content Services 9065: ACT 2836 - Long, xml-based tickets not supported in Office webscripts 9078: Further fixes for ACT 2836 Adobe tickets are too long for Internet Explorer GET URLs (2048 limit vs. 2426 encoded length). WebClientAuthenticator modified to also look for ticket within HTTP header (if not found on URL). Office add-ins updated to support header-based ticket passing. 9109: More updates for ACT 2836 9118: More Adobe rebranding (No rebranding merged - strings externalised only) 9131: Workaround for PowerPoint WebDAV/ticket bug 9132: *Record Only* Fix for Office add-in search page regression 9133: Update long ticket/Office fix to pass ticket if the entire URL is < 255 characters. Pop-up login dialog cancellation returns to config panel. 9294: Workaround for ACT 3093 - Limitations of Win32 API when using WebDAV paths ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V2.1-A:r8275-8276,8665,9064-9065,9078,9109,9118,9131-9133,9294 Merged /alfresco/BRANCHES/V3.1:r12895 Merged /alfresco/BRANCHES/DEV/LIVECYCLE-3.1:r12858 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -72,8 +72,8 @@ public class AuthenticationFilter implements Filter
|
||||
// Allow an authentication ticket to be passed as part of a request to bypass authentication
|
||||
|
||||
private static final String ARG_TICKET = "ticket";
|
||||
private static final String PPT_EXTN = ".ppt";
|
||||
private static final String VTI_IGNORE = "&vtiIgnore";
|
||||
private static final String PPT_EXTN = ".ppt";
|
||||
private static final String VTI_IGNORE = "&vtiIgnore";
|
||||
|
||||
// Servlet context
|
||||
|
||||
@@ -197,17 +197,11 @@ public class AuthenticationFilter implements Filter
|
||||
if ( ticket != null && ticket.length() > 0)
|
||||
{
|
||||
// PowerPoint bug fix
|
||||
if (ticket.endsWith(PPT_EXTN))
|
||||
if (ticket.endsWith(PPT_EXTN))
|
||||
{
|
||||
ticket = ticket.substring(0, ticket.length() - PPT_EXTN.length());
|
||||
ticket = ticket.substring(0, ticket.length() - PPT_EXTN.length());
|
||||
}
|
||||
|
||||
// vtiIgnore argument may find its way onto the ticket due to a double-encoding issue with Office
|
||||
if (ticket.endsWith(VTI_IGNORE))
|
||||
{
|
||||
ticket = ticket.substring(0, ticket.length() - VTI_IGNORE.length());
|
||||
}
|
||||
|
||||
|
||||
// Debug
|
||||
|
||||
if ( logger.isDebugEnabled())
|
||||
|
Reference in New Issue
Block a user