James Moger
2012-10-28 e92c6d230b3a350749fdb9fa2150bb1773260b8c
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());