James Moger
2014-10-26 3faf6f6469759538590aa7f1012c543f95583c56
src/main/java/com/gitblit/servlet/RawServlet.java
@@ -108,9 +108,8 @@
         branch = Repository.shortenRefName(branch).replace('/', fsc);
      }
      String encodedPath = path == null ? "" : path.replace(' ', '-');
      encodedPath = encodedPath.replace('/', fsc);
      return baseURL + Constants.RAW_PATH + repository + "/" + (branch == null ? "" : (branch + "/" + (path == null ? "" : encodedPath)));
      String encodedPath = path == null ? "" : path.replace('/', fsc);
      return baseURL + Constants.RAW_PATH + repository + "/" + (branch == null ? "" : (branch + "/" + encodedPath));
   }
   protected String getBranch(String repository, HttpServletRequest request) {