James Moger
2014-07-05 3e0c6ca8a65bd4b076cac1451c9cdfde4be1d4b8
src/main/java/com/gitblit/servlet/RawServlet.java
@@ -106,10 +106,6 @@
      String encodedPath = path == null ? "" : path.replace(' ', '-');
      encodedPath = encodedPath.replace('/', fsc);
      try {
         encodedPath = URLEncoder.encode(encodedPath, "UTF-8");
      } catch (UnsupportedEncodingException e) {
      }
      return baseURL + Constants.RAW_PATH + repository + "/" + (branch == null ? "" : (branch + "/" + (path == null ? "" : encodedPath)));
   }
@@ -134,7 +130,8 @@
      if (path.endsWith("/")) {
         path = path.substring(0, path.length() - 1);
      }
      return path;
      char c = runtimeManager.getSettings().getChar(Keys.web.forwardSlashCharacter, '/');
      return path.replace('!', '/').replace(c, '/');
   }
   protected boolean renderIndex() {