From 78d64081b6a58131503c79ac5923a815b34ad732 Mon Sep 17 00:00:00 2001 From: Mostafa Moafi Date: Fri, 3 May 2024 14:14:40 +0330 Subject: [PATCH 1/2] Fix #6011: Non conforming favicon meta tags --- DNN Platform/Library/UI/FavIcon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DNN Platform/Library/UI/FavIcon.cs b/DNN Platform/Library/UI/FavIcon.cs index bd7dcbf6487..aff05993649 100644 --- a/DNN Platform/Library/UI/FavIcon.cs +++ b/DNN Platform/Library/UI/FavIcon.cs @@ -41,7 +41,7 @@ public static string GetHeaderLink(int portalId) string favIconPath = new FavIcon(portalId).GetRelativeUrl(); if (!string.IsNullOrEmpty(favIconPath)) { - headerLink = string.Format("", favIconPath); + headerLink = string.Format("", favIconPath); } else { From 8aa215d19fe04ac34e8978f1665f4f4469e21224 Mon Sep 17 00:00:00 2001 From: Mostafa Moafi Date: Fri, 3 May 2024 22:25:55 +0330 Subject: [PATCH 2/2] lowercase rel link --- DNN Platform/Library/UI/FavIcon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DNN Platform/Library/UI/FavIcon.cs b/DNN Platform/Library/UI/FavIcon.cs index aff05993649..f8fb591e90a 100644 --- a/DNN Platform/Library/UI/FavIcon.cs +++ b/DNN Platform/Library/UI/FavIcon.cs @@ -41,7 +41,7 @@ public static string GetHeaderLink(int portalId) string favIconPath = new FavIcon(portalId).GetRelativeUrl(); if (!string.IsNullOrEmpty(favIconPath)) { - headerLink = string.Format("", favIconPath); + headerLink = string.Format("", favIconPath); } else {