James Moger
2013-09-30 699e71e76b15081baf746c6ce9c9144f7e5f1ff9
src/main/java/com/gitblit/SyndicationFilter.java
@@ -34,15 +34,15 @@
 * The SyndicationFilter is an AuthenticationFilter which ensures that feed
 * requests for projects or view-restricted repositories have proper authentication
 * credentials and are authorized for the requested feed.
 *
 *
 * @author James Moger
 *
 *
 */
public class SyndicationFilter extends AuthenticationFilter {
   /**
    * Extract the repository name from the url.
    *
    *
    * @param url
    * @return repository name
    */
@@ -56,7 +56,7 @@
   /**
    * doFilter does the actual work of preprocessing the request to ensure that
    * the user may proceed.
    *
    *
    * @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest,
    *      javax.servlet.ServletResponse, javax.servlet.FilterChain)
    */
@@ -72,7 +72,7 @@
      ProjectModel project = GitBlit.self().getProjectModel(name);
      RepositoryModel model = null;
      if (project == null) {
         // try loading a repository model
         model = GitBlit.self().getRepositoryModel(name);
@@ -84,7 +84,7 @@
            return;
         }
      }
      // Wrap the HttpServletRequest with the AccessRestrictionRequest which
      // overrides the servlet container user principal methods.
      // JGit requires either: