fix
This commit is contained in:
parent
92c834f88c
commit
c8ad99cd79
|
@ -25,7 +25,7 @@ namespace webmusic.Pages
|
||||||
.Replace("+", "%2B"));
|
.Replace("+", "%2B"));
|
||||||
if (path.EndsWith(".m3u"))
|
if (path.EndsWith(".m3u"))
|
||||||
path = path.Substring(0, path.Length - 4);
|
path = path.Substring(0, path.Length - 4);
|
||||||
if (path.Contains(".."))
|
if (path.Contains("/.."))
|
||||||
{
|
{
|
||||||
Response.Redirect("/Error");
|
Response.Redirect("/Error");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue