James Moger
2015-03-07 a95121aca3fd88f93e4279c67f37b2b24e72a90f
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;