AnsweredAssumed Answered

Download link error for file names with spaces in between

Question asked by sureshj on Apr 17, 2009
Latest reply on Feb 21, 2013 by skliarie
Actually I have two problems to be encountered with Alfresco Share:

First, Download link error for file names with spaces
Second, Preview does not load the document at all

I have given the error info for download link:

URL: http://<companydomain.com>/share/proxy/alfresco/api/node/content/workspace/SpacesStore/6dc74319-5c9f-459b-9dda-0aa4bff00694/Demo%20Scenarios.doc?a=true

Do anybody experienced this problem before? I could not see any topic on this yet. Can anybody help out to fix this issue?

Thanks
Suresh

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.alfresco.error.AlfrescoRuntimeException: Error during endpoint proxy processing: Invalid uri 'http://<companydomain.com>/alfresco/wcs/api/node/content/workspace/SpacesStore/6dc74319-5c9f-459b-9dda-0aa4bff00694/Demo Scenarios.doc?a=true': escaped absolute path not valid
   org.alfresco.web.scripts.servlet.EndPointProxyServlet.service(EndPointProxyServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.IllegalArgumentException: Invalid uri 'http://<companydomain.com>/alfresco/wcs/api/node/content/workspace/SpacesStore/6dc74319-5c9f-459b-9dda-0aa4bff00694/Demo Scenarios.doc?a=true': escaped absolute path not valid
   org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
   org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
   org.alfresco.connector.RemoteClient.service(RemoteClient.java:524)
   org.alfresco.connector.RemoteClient.call(RemoteClient.java:412)
   org.alfresco.connector.HttpConnector.call(HttpConnector.java:140)
   org.alfresco.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:294)
   org.alfresco.web.scripts.servlet.EndPointProxyServlet.service(EndPointProxyServlet.java:255)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.

Outcomes