This commit is contained in:
Laura Hausmann 2023-05-11 19:35:04 +02:00
parent c3c220753f
commit 8bf7db6b17
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -54,8 +54,8 @@ namespace webmusic.Pages {
if (pathparts.Length > 2) {
CopyAlbum = pathparts[Index.FromEnd(1)].Replace("'", "\\'");
CopyArtist = pathparts[Index.FromEnd(2)].Replace("'", "\\'");;
LogAlbum = HttpUtility.UrlPathEncode(pathparts[Index.FromEnd(1)]).Replace("'", "\\'");;
LogArtist = HttpUtility.UrlPathEncode(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("'", "\\'");;
LogConditionsMet = true;
}