James Moger
2014-09-08 2916cfd79848ef555226b5d2a5179f540ffc428d
src/main/java/com/gitblit/servlet/DownloadZipFilter.java
@@ -38,12 +38,15 @@
   @Override
   protected String extractRepositoryName(String url) {
      int a = url.indexOf("r=");
      if (a > -1) {
      String repository = url.substring(a + 2);
      if (repository.indexOf('&') > -1) {
         repository = repository.substring(0, repository.indexOf('&'));
      }
      return repository;
   }
      return null;
   }
   /**
    * Analyze the url and returns the action of the request.