diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl index 0f49042586..0d0e43dadb 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl @@ -157,10 +157,10 @@ <#assign versionRow=versionRow+1>
${res.name?html} <#else> - |
- ${res.name?html}
+ ${res.name?html}
#if>
Modified: ${res.properties.modified?datetime} (${(res.size / 1024)?int}Kb) @@ -88,7 +88,7 @@ #list> - Manage... + Manage... #if> diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl index dd9893215a..d01f9ec50f 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl @@ -156,14 +156,14 @@ <#if child.name?ends_with(extn) || child.name?ends_with(extnx)> <#if child.properties.description?exists> diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/searchResults.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/searchResults.get.html.ftl index a7d2f5d4a9..45f9a00bd5 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/searchResults.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/searchResults.get.html.ftl @@ -26,7 +26,7 @@ <#assign openURL = "#"> <#assign hrefExtra = " onClick=\"window.external.openDocument('${relativePath}')\""> <#else> - <#assign openURL = "${url.context}${child.url}?ticket=${session.ticket}"> + <#assign openURL = "${url.context}${child.url}"> <#assign hrefExtra = " target=\"_blank\""> #if> <#else> diff --git a/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java b/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java index 6cfcfedcf7..88bdfa9035 100644 --- a/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java +++ b/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java @@ -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()) |