James Moger
2011-06-25 22fc5e48cbe050d8485f78f6165b59e4085eaeef
src/com/gitblit/DownloadZipServlet.java
@@ -41,10 +41,10 @@
   }
   public static String asLink(String baseURL, String repository, String objectId, String path) {
      if (baseURL.charAt(baseURL.length() - 1) == '/') {
      if (baseURL.length() > 0 && baseURL.charAt(baseURL.length() - 1) == '/') {
         baseURL = baseURL.substring(0, baseURL.length() - 1);
      }
      return baseURL + Constants.ZIP_SERVLET_PATH + "?r=" + repository
      return baseURL + Constants.ZIP_PATH + "?r=" + repository
            + (path == null ? "" : ("&p=" + path))
            + (objectId == null ? "" : ("&h=" + objectId));
   }