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

View file

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