From c8ad99cd79c24770888e7195a02cbed573d4cbd5 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 18 Oct 2020 23:11:38 +0200 Subject: [PATCH] fix --- Pages/Index.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pages/Index.cshtml.cs b/Pages/Index.cshtml.cs index fd7d0c5..96ebae6 100644 --- a/Pages/Index.cshtml.cs +++ b/Pages/Index.cshtml.cs @@ -25,7 +25,7 @@ namespace webmusic.Pages .Replace("+", "%2B")); if (path.EndsWith(".m3u")) path = path.Substring(0, path.Length - 4); - if (path.Contains("..")) + if (path.Contains("/..")) { Response.Redirect("/Error"); return;