From 2d81029c29997ef48f8645165cac9ac5a2e7db9e Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 11 May 2023 19:36:19 +0200 Subject: [PATCH] Fix log --- Pages/Index.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pages/Index.cshtml.cs b/Pages/Index.cshtml.cs index 22f338e..958dda0 100644 --- a/Pages/Index.cshtml.cs +++ b/Pages/Index.cshtml.cs @@ -56,7 +56,7 @@ namespace webmusic.Pages { CopyArtist = pathparts[Index.FromEnd(2)].Replace("'", "\\'");; LogAlbum = HttpUtility.UrlPathEncode(pathparts[Index.FromEnd(1)]).Replace("'", "\\'").Replace("&", "%26"); LogArtist = HttpUtility.UrlPathEncode(pathparts[Index.FromEnd(2)]).Replace("'", "\\'").Replace("&", "%26"); - LogUrl = Request.GetEncodedUrl().Replace("'", "\\'");; + LogUrl = Request.GetEncodedUrl().Replace("'", "\\'").Replace("&", "%26"); LogConditionsMet = true; } }