Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-03-17 12:27:41 -0400
committerslewis2008-03-17 12:27:41 -0400
commitc0788a4883e41ba7f7cd1b5b8425b0f5661ed233 (patch)
tree4cc4253c28c328e8e4bdedd77af6371ccac8f4a2 /server-side
parent9b708df01325c27f97d395dc75a5bfe06e9fbed9 (diff)
downloadorg.eclipse.ecf-c0788a4883e41ba7f7cd1b5b8425b0f5661ed233.tar.gz
org.eclipse.ecf-c0788a4883e41ba7f7cd1b5b8425b0f5661ed233.tar.xz
org.eclipse.ecf-c0788a4883e41ba7f7cd1b5b8425b0f5661ed233.zip
Added support for URL paths that do not start with /
Diffstat (limited to 'server-side')
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.updatesite.client/src/org/eclipse/ecf/internal/examples/updatesite/client/UpdateSiteServiceAccessHandler.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.updatesite.client/src/org/eclipse/ecf/internal/examples/updatesite/client/UpdateSiteServiceAccessHandler.java b/server-side/examples/bundles/org.eclipse.ecf.examples.updatesite.client/src/org/eclipse/ecf/internal/examples/updatesite/client/UpdateSiteServiceAccessHandler.java
index 11ef86379..4599fac28 100644
--- a/server-side/examples/bundles/org.eclipse.ecf.examples.updatesite.client/src/org/eclipse/ecf/internal/examples/updatesite/client/UpdateSiteServiceAccessHandler.java
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.updatesite.client/src/org/eclipse/ecf/internal/examples/updatesite/client/UpdateSiteServiceAccessHandler.java
@@ -55,10 +55,13 @@ public class UpdateSiteServiceAccessHandler implements IServiceAccessHandler {
buf.append("://").append(location.getHost()); //$NON-NLS-1$
if (location.getPort() != -1)
buf.append(":").append(location.getPort()); //$NON-NLS-1$
+ buf.append("/"); //$NON-NLS-1$
final String path = serviceInfo.getServiceProperties().getPropertyString(PATH);
- final String name = serviceInfo.getServiceProperties().getPropertyString(NAME);
- if (path != null)
+ if (path != null) {
+ buf.append("/"); //$NON-NLS-1$
buf.append(path);
+ }
+ final String name = serviceInfo.getServiceProperties().getPropertyString(NAME);
final String urlString = buf.toString();
final IAction openUpdateSiteAction = new Action() {
public void run() {

Back to the top