This commit is contained in:
Laura Hausmann 2020-10-18 23:07:16 +02:00
parent 4c69a0c287
commit 92c834f88c
Signed by: zotan
GPG key ID: 5EC1D38FFC321311

View file

@ -10,7 +10,7 @@
Response.ContentType = "text/plain"; Response.ContentType = "text/plain";
} }
} }
@if (Model.path.Contains("..")) @if (Model.path.Contains("/.."))
{ {
return; return;
} }