From a6e3f78f4348d7524632fb46b91dcca344d21917 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 22 Dec 2025 23:22:39 +0100 Subject: [PATCH] fix: Fixed Picture Name for Linux --- CouchLog/Components/Pages/GlobalList.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CouchLog/Components/Pages/GlobalList.razor b/CouchLog/Components/Pages/GlobalList.razor index f2045c5..083145c 100644 --- a/CouchLog/Components/Pages/GlobalList.razor +++ b/CouchLog/Components/Pages/GlobalList.razor @@ -224,7 +224,7 @@ } //Save Picture and Name it - string NewFileName = $"{GlobalEntity.Title.Replace(" ", "_")}_{Guid.NewGuid()}{Path.GetExtension(Picture.Name)}"; + string NewFileName = $"{GlobalEntity.Title.Replace(" ", "-")}-{Guid.NewGuid()}{Path.GetExtension(Picture.Name)}"; string PicturePath = Path.Combine("wwwroot", "Pictures", NewFileName); using FileStream FileStream = File.Create(PicturePath); await Picture.OpenReadStream().CopyToAsync(FileStream); -- 2.49.1