]> source.dussan.org Git - jgit.git/commit
Allow ../relative paths in remotes 75/1575/2
authorChris West (Faux) <git@goeswhere.com>
Thu, 9 Sep 2010 00:15:27 +0000 (01:15 +0100)
committerChris West (Faux) <git@goeswhere.com>
Fri, 10 Sep 2010 20:04:01 +0000 (21:04 +0100)
commit2a523594542a544a187de006c315ead2c7e7e908
treeca99fb171e170316f37c52a8d325d93cb8a10585
parent0e8ef778407ced21048cf7e43b4383b23f3ccdc5
Allow ../relative paths in remotes

git allows remotes to be relative paths, but the regex
validating urls wouldn't accept anything starting with "..".
Other functionality works fine with these paths.

Bug: 311300
Change-Id: Ib74de0450a1c602b22884e19d994ce2f52634c77
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java