fix oopsie

This commit is contained in:
Laura Hausmann 2020-12-21 21:47:08 +01:00
parent e1992cfd82
commit 7c208f5d3e
Signed by: zotan
GPG Key ID: 5EC1D38FFC321311
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ namespace webmusic.Pages {
Response.Redirect("/Error");
return;
}
if (Path.EndsWith(".m3u"))
Path = Path.Substring(0, Path.Length - 4);
if (Path.EndsWith(".lrc"))
return;