summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorAndreas König <eclipse@berg-turbenthal.ch>2012-12-13 17:43:59 +0100
committerChris Aniszczyk <zx@twitter.com>2013-03-27 10:44:13 -0400
commitd9d3439617677d75ffde57d2860807fa7c14aff0 (patch)
treef565f1cfdf53153282811409babb23d5db90823e /org.eclipse.jgit.test
parent741ecf56b7eab161326806d566ef22c911496789 (diff)
downloadjgit-d9d3439617677d75ffde57d2860807fa7c14aff0.tar.gz
jgit-d9d3439617677d75ffde57d2860807fa7c14aff0.zip
Fixed parsing of URI with a IPv6-address
Allowed ipv6-address in a uri like: http://[::1]:8080/repo.git Change-Id: Ia00a20f694b2e9314892df77f9b11f551bb1d34e Signed-off-by: Chris Aniszczyk <zx@twitter.com>
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java
index b5a753bbba..2202a91d3f 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java
@@ -822,7 +822,7 @@ public class URIishTest {
String[] users = new String[] { "me", "l usr\\example.com",
"lusr\\example" };
String[] passes = new String[] { "wtf", };
- String[] hosts = new String[] { "example.com", "1.2.3.4" };
+ String[] hosts = new String[] { "example.com", "1.2.3.4", "[::1]" };
String[] ports = new String[] { "1234", "80" };
String[] paths = new String[] { "/", "/abc", "D:/x", "D:\\x" };
for (String[] test : tests) {