fixes:\r
- Could not reset settings with $ or { characters through Gitblit Manager because they are not properly escaped\r
- Fix NPE when getting user's fork without repository list caching (issue 182)\r
+ - Fix internal error on folder history links (issue 192)\r
\r
additions: \r
- Option to force client-side basic authentication instead of form-based authentication if web.authenticateViewPages=true (issue 222)\r
}\r
\r
final boolean isTree = matchingPath == null ? true : matchingPath.isTree();\r
- final boolean isSubmodule = matchingPath == null ? true : matchingPath.isSubmodule();\r
+ final boolean isSubmodule = matchingPath == null ? false : matchingPath.isSubmodule();\r
\r
// submodule\r
- SubmoduleModel submodule = getSubmodule(submodules, repositoryName, matchingPath.path);\r
final String submodulePath;\r
final boolean hasSubmodule; \r
- if (submodule != null) {\r
+ if (isSubmodule) {\r
+ SubmoduleModel submodule = getSubmodule(submodules, repositoryName, matchingPath == null ? null : matchingPath.path);\r
submodulePath = submodule.gitblitPath;\r
hasSubmodule = submodule.hasSubmodule;\r
} else {\r