James Moger
2013-06-19 daaf89d8bc0b8229c6205d0c59326bee183c5c5e
src/main/java/com/gitblit/utils/StringUtils.java
@@ -331,7 +331,7 @@
      String fp = fullPath.replace('\\', '/').toLowerCase();
      if (fp.startsWith(bp)) {
         String relativePath = fullPath.substring(basePath.length()).replace('\\', '/');
         if (relativePath.charAt(0) == '/') {
         if (relativePath.length() > 0 && relativePath.charAt(0) == '/') {
            relativePath = relativePath.substring(1);
         }
         return relativePath;