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> - Open ${record.versionLabel} + Open ${record.versionLabel} - ${record.versionLabel}
+ ${record.versionLabel}
Author: ${record.creator}
Date: ${record.createdDate?datetime}
<#if record.description?exists> @@ -239,7 +239,7 @@
  • - + Open Full Details Open Full Details diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl index 9235b0a04c..5326c814a7 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl @@ -57,7 +57,7 @@ <#if child.name?ends_with(extn) || child.name?ends_with(extnx)> ${child.name?html}
    <#else> - ${child.name?html}
    + ${child.name?html}
    <#if child.properties.description?exists> <#if (child.properties.description?length > 0)> @@ -150,7 +150,7 @@
    Create a new Collaboration Space in the Alfresco Repository
  • - + Launch Alfresco Launch Alfresco diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl index f6d1a65f96..8bc8761bcc 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl @@ -12,7 +12,7 @@ Task item - ${task.description!""?html} + ${(task.description!"")?html}
    @@ -52,9 +52,9 @@ +
    ${res.name?html} <#else> - ${res.name?html}${res.name?html} - ${res.name?html} + ${res.name?html}
    Modified: ${res.properties.modified?datetime} (${(res.size / 1024)?int}Kb)
    @@ -88,7 +88,7 @@ - Manage... + Manage... 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)> Open ${child.name?html} <#else> - Open ${child.name?html} + Open ${child.name?html} <#if child.name?ends_with(extn) || child.name?ends_with(extnx)> ${child.name?html} <#else> - ${child.name?html} + ${child.name?html}
    <#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\""> <#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())