mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 18:16:16 +02:00
Merge pull request #1143 from mcs07/master
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