Inaiat Henrique
2013-01-03 15dcc074a7db2b3dae95c37e7e8625139f0e37da
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());