Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-03-19 01:52:21 -0400
committerslewis2008-03-19 01:52:21 -0400
commitb1d9e794dced0d633e4b8b7dec37bfdddb45fa4c (patch)
treecaf541e446ca0d93e73c429fcce62a8905178573 /server-side
parent11f60a803095d34f6b0836d26d29dd788720b2e2 (diff)
downloadorg.eclipse.ecf-b1d9e794dced0d633e4b8b7dec37bfdddb45fa4c.tar.gz
org.eclipse.ecf-b1d9e794dced0d633e4b8b7dec37bfdddb45fa4c.tar.xz
org.eclipse.ecf-b1d9e794dced0d633e4b8b7dec37bfdddb45fa4c.zip
Fix for extra / in URL for update site
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.java3
1 files changed, 1 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 4599fac28..ce69421f0 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,9 @@ 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);
if (path != null) {
- buf.append("/"); //$NON-NLS-1$
+ if (!path.startsWith("/"))buf.append("/"); //$NON-NLS-1$ //$NON-NLS-2$
buf.append(path);
}
final String name = serviceInfo.getServiceProperties().getPropertyString(NAME);

Back to the top