James Moger
2015-03-07 c9afc9ed01dbc6b74ecb2734d2cd7ed943b5d643
src/main/java/com/gitblit/utils/FileUtils.java
@@ -296,7 +296,7 @@
      Path exactBase = Paths.get(getExactFile(basePath).toURI());
      Path exactPath = Paths.get(getExactFile(path).toURI());
      if (exactPath.startsWith(exactBase)) {
         return exactBase.relativize(exactPath).toString();
         return exactBase.relativize(exactPath).toString().replace('\\', '/');
      }
      // no relative relationship
      return null;