From d1ea1411654459df451d99fd67f68ffb80d9f964 Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Wed, 21 Sep 2022 15:37:52 -0400 Subject: [PATCH] fix new id convention in file server --- Oqtane.Server/Pages/Files.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Server/Pages/Files.cshtml.cs b/Oqtane.Server/Pages/Files.cshtml.cs index 6714ce3f..84d8ef16 100644 --- a/Oqtane.Server/Pages/Files.cshtml.cs +++ b/Oqtane.Server/Pages/Files.cshtml.cs @@ -60,7 +60,7 @@ namespace Oqtane.Pages } Models.File file; - if (folderpath == "id" && int.TryParse(filename, out int fileid)) + if (folderpath == "id/" && int.TryParse(filename, out int fileid)) { file = _files.GetFile(fileid, false); }