mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-07-06 10:38:57 +02:00
Fix special character encoding for blob links
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user