Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-12-01 13:16:13 -0500
committerKevin Sawicki2012-12-01 13:16:13 -0500
commit06b147e0e29b39fe0b827c5c7615c795461c7f88 (patch)
tree08c38b0d6abc0466e96e64640f23c41771858073
parent18e3905a98c4dca006f3467bbd4fc1737e9b0cf9 (diff)
downloadegit-github-06b147e0e29b39fe0b827c5c7615c795461c7f88.tar.gz
egit-github-06b147e0e29b39fe0b827c5c7615c795461c7f88.tar.xz
egit-github-06b147e0e29b39fe0b827c5c7615c795461c7f88.zip
Append ':' before port when constructing URL
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java
index dfb5f13b..ea8359e5 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java
@@ -178,7 +178,7 @@ public class GitHubClient {
uri.append("://"); //$NON-NLS-1$
uri.append(hostname);
if (port > 0)
- uri.append(port);
+ uri.append(':').append(port);
baseUri = uri.toString();
// Use URI prefix on non-standard host names

Back to the top