fix encoding

This commit is contained in:
Laura Hausmann 2021-06-25 11:35:11 +02:00
parent f8ac13a606
commit ce4783e49c
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -38,7 +38,7 @@ else {
<li>
<a class="action" href="@Html.Raw(IndexModel.Encode(Model.Fullpath + "/" + file))" download>[DL]</a>
@if (System.IO.File.Exists(lrcpath)) {
<a class="action" href="?@Model.Path/@lrcfile" target="_blank">[LRC]</a>
<a class="action" href="?@Html.Raw(IndexModel.Encode(Model.Path + "/" + lrcfile))" target="_blank">[LRC]</a>
}
else if(Directory.GetFiles(@Model.Fullpath, "*.lrc").Length != 0) {
<a class="action">[---]</a>