- AVM Web Script Sample (browse stores, folders, content)

- Fix Web Script issue where urls contained ; (due to tomcat)
- Allow AVMScriptStore to be passed through script converters (add serializable)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2007-06-22 16:39:43 +00:00
parent 55c648905a
commit 960d89a837
3 changed files with 12 additions and 6 deletions

View File

@@ -523,8 +523,8 @@ public class TestWebScriptServer
req.addParameter(parts[0], (parts.length == 2) ? URLDecoder.decode(parts[1], "UTF-8") : null);
}
}
String pathInfo = iArgIndex == -1 ? uri : uri.substring(0, iArgIndex);
req.setPathInfo(URLDecoder.decode(pathInfo, "UTF-8"));
String requestURI = "/alfresco/service" + (iArgIndex == -1 ? uri : uri.substring(0, iArgIndex));
req.setRequestURI(URLDecoder.decode(requestURI, "UTF-8"));
}
return req;