From 32e1c7ddc595dec453fb0c4a6dc49df8a33cf2aa Mon Sep 17 00:00:00 2001 From: Jon Cox Date: Tue, 26 Sep 2006 20:47:41 +0000 Subject: [PATCH] Added fixup for windows. This should really be handled within the avm. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../websites/alfresco/ROOT/media/releases/index.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/test-resources/websites/alfresco/ROOT/media/releases/index.jsp b/source/test-resources/websites/alfresco/ROOT/media/releases/index.jsp index a69a313f73..b7da419dc7 100644 --- a/source/test-resources/websites/alfresco/ROOT/media/releases/index.jsp +++ b/source/test-resources/websites/alfresco/ROOT/media/releases/index.jsp @@ -36,10 +36,11 @@ public List getPressReleases(HttpServletRequest request, ServletCo // String real_path = servletContext.getRealPath("/media/releases/content"); - // The avm_path to the root of the context will look soemthign like this: + // The avm_path to the root of the context will look something like this: // alfreco-guest-main:/appBase/avm_webapps/my_webapp // String avm_path = real_path.substring( real_path.indexOf('$', real_path.indexOf('$') + 1) + 1 ); + avm_path = avm_path.replace('\\','/'); AVMRemote avm_remote = AVMFileDirContext.getAVMRemote(); Map< String, AVMNodeDescriptor> entries = avm_remote.getDirectoryListing(-1, avm_path);