James Moger
2012-11-30 59b817a55b04b4bd8c5950a2d97998d3af6d44e3
src/com/gitblit/AccessRestrictionFilter.java
@@ -125,6 +125,12 @@
      String fullUrl = getFullUrl(httpRequest);
      String repository = extractRepositoryName(fullUrl);
      if (GitBlit.self().isCollectingGarbage(repository)) {
         logger.info(MessageFormat.format("ARF: Rejecting request for {0}, busy collecting garbage!", repository));
         httpResponse.sendError(HttpServletResponse.SC_FORBIDDEN);
         return;
      }
      // Determine if the request URL is restricted
      String fullSuffix = fullUrl.substring(repository.length());