Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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