Fix special character encoding for blob links

This commit is contained in:
Matt Swain
2016-03-08 12:37:58 +00:00
parent 70e2079c7f
commit e162cd956a

View File

@@ -160,7 +160,7 @@
</a>
}
} else {
<a href="@url(repository)/blob@{(encodeRefName(branch) :: pathList).mkString("/", "/", "/")}@file.name">@file.name</a>
<a href="@url(repository)/blob@{(branch :: pathList).map(encodeRefName).mkString("/", "/", "/")}@{encodeRefName(file.name)}">@file.name</a>
}
</td>
<td class="mute">