From 92c834f88cb5e18b4abfd8a80fbb0d0929d7d8b3 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 18 Oct 2020 23:07:16 +0200 Subject: [PATCH] fix --- Pages/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }