diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index 9706362..429308b 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -10,7 +10,7 @@ Response.ContentType = "text/plain"; } } -@if (Model.path.Contains("..")) +@if (Model.path.Contains("/..")) { return; }