(refs #120)URL encode branch name except '/'.

This commit is contained in:
takezoe
2013-10-07 02:36:35 +09:00
parent 82ced9233a
commit 65e6de5ba4
8 changed files with 24 additions and 19 deletions

View File

@@ -26,7 +26,7 @@
<span class="muted">
<img src="@assets/common/images/branch.png"/>
@branches.zipWithIndex.map { case (branch, i) =>
<a href="@url(repository)/tree/@branch" class="branch" id="branch-@i">@branch</a>
<a href="@url(repository)/tree/@encodeBranchName(branch)" class="branch" id="branch-@i">@branch</a>
}
</span>
}