fix: can't resolve the git repository path provided by the plugin
If the contextPath is not equals to `/`, gitRepositoryPath contains
the contextPath + `/git`.  Therefore, gitbucket can not resolve
the git repository path provided by the plugin.

For example, you can not clone the snippets repository of gist-plugin.

To fix this, also deletes contextPath from requestURI.
1 parent 8d35494 commit 485516be2e665b562c35e48e120a7ff514b28f37
@Mitsuhiro Koga Mitsuhiro Koga authored on 25 Jul 2016
Showing 1 changed file
View
src/main/scala/gitbucket/core/util/Implicits.scala