Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-04-01 14:13:08 -0400
committerslewis2009-04-01 14:13:08 -0400
commitbe1c8d169f8f3a3aa480c213c940c6a4c333a7ef (patch)
tree592f08d010ba4c0c3001698706af50cf2e087a33
parent090069c8c4eee07bd4e76ac37408c712947704d8 (diff)
downloadorg.eclipse.ecf-be1c8d169f8f3a3aa480c213c940c6a4c333a7ef.tar.gz
org.eclipse.ecf-be1c8d169f8f3a3aa480c213c940c6a4c333a7ef.tar.xz
org.eclipse.ecf-be1c8d169f8f3a3aa480c213c940c6a4c333a7ef.zip
Additional fix to properly address 270249
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient/src/org/eclipse/ecf/provider/filetransfer/httpclient/HttpClientRetrieveFileTransfer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient/src/org/eclipse/ecf/provider/filetransfer/httpclient/HttpClientRetrieveFileTransfer.java b/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient/src/org/eclipse/ecf/provider/filetransfer/httpclient/HttpClientRetrieveFileTransfer.java
index db0989399..bab59e366 100644
--- a/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient/src/org/eclipse/ecf/provider/filetransfer/httpclient/HttpClientRetrieveFileTransfer.java
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient/src/org/eclipse/ecf/provider/filetransfer/httpclient/HttpClientRetrieveFileTransfer.java
@@ -180,6 +180,8 @@ public class HttpClientRetrieveFileTransfer extends AbstractRetrieveFileTransfer
final int nextSlash = url.indexOf('/', colonSlashSlash + 4);
if (nextSlash > colon)
return url.substring(colonSlashSlash + 1, colon) + url.substring(nextSlash);
+ else if (nextSlash < 0)
+ return url.substring(colonSlashSlash + 1, colon);
}
return url.substring(colonSlashSlash + 1);

Back to the top