James Moger
2014-05-07 337e2a0406d56b0b05012eb8e3bc1a393502f714
src/main/java/com/gitblit/Constants.java
@@ -556,7 +556,12 @@
      }
      public static Transport fromUrl(String url) {
         String scheme = url.substring(0, url.indexOf("://"));
         int delim = url.indexOf("://");
         if (delim == -1) {
            // if no protocol is specified, SSH is assumed by git clients
            return SSH;
         }
         String scheme = url.substring(0, delim);
         return fromString(scheme);
      }
   }