]> source.dussan.org Git - jgit.git/commit
Refactored URI parsing to detect wrong URIs 90/1690/5
authorChristian Halstrick <christian.halstrick@sap.com>
Wed, 6 Oct 2010 15:29:25 +0000 (17:29 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 8 Oct 2010 09:12:09 +0000 (11:12 +0200)
commit2160c09dd4f678c5f2f8e730945be637210b39de
tree5039bc6414ff05a2d43b7673f7e6990b03607802
parent213609520351bc26beab887dd7f41f09b0b70d89
Refactored URI parsing to detect wrong URIs

There where quite some bugs regarding wrong URI parsing. In order
to solve them the parsing has to be refactored. We now have
specialized regexps for 'scheme://host/...', scp URIs and local
file names. Now we can detect problems while parsing 'git://host:/abc' which
was previously not possible.

Bug: 315571
Bug: 292897
Bug: 307017
Bug: 323571
Bug: 317388
Change-Id: If72576576ebb6b9d9dc8b7e51ddd87c9909e8b62
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java